Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOQUS UQ Tutorial problem #853

Closed
wvuecust opened this issue Dec 3, 2020 · 2 comments
Closed

FOQUS UQ Tutorial problem #853

wvuecust opened this issue Dec 3, 2020 · 2 comments
Assignees
Labels
UQ Issues related to creating, filtering, and analyzing simulation ensembles

Comments

@wvuecust
Copy link

wvuecust commented Dec 3, 2020

I tried to open the FOQUS example of UQ Tutorial_5, but the filtered file can not be load successfully.
The error shows as follows
File "c:\users\anaconda3\envs\ccsi-foqus\lib\site-packages\foqus_lib\gui\main\mainWindow.py", line 1068, in loadData
self.dat.load(fileName)
File "c:\users\anaconda3\envs\ccsi-foqus\lib\site-packages\foqus_lib\framework\session\session.py", line 507, in load
sd = json.load(f, object_pairs_hook=collections.OrderedDict)
File "c:\users\anaconda3\envs\ccsi-foqus\lib\json_init_.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "c:\users\anaconda3\envs\ccsi-foqus\lib\json_init_.py", line 361, in loads
return cls(**kw).decode(s)
File "c:\users\anaconda3\envs\ccsi-foqus\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\users\anaconda3\envs\ccsi-foqus\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@sotorrio1 sotorrio1 self-assigned this Dec 3, 2020
@sotorrio1 sotorrio1 added the UQ Issues related to creating, filtering, and analyzing simulation ensembles label Dec 3, 2020
@sotorrio1
Copy link
Member

@wvuecust I can't reproduce your error. Would you mind giving me a better description of what you did? Step-by-step. Here is mine:

  1. Open FOQUS
  2. Go to UQ tab
  3. Click "Load From File..." button
  4. Go to examples/tutorial_files/UQ/Tutorial_5/
  5. Select the only file in there "lptau5k_10inputs_4outputs.filtered"
  6. Click "Open"

And the file loads fine (see screenshot below)
Screen Shot 2020-12-03 at 9 25 28 AM

@wvuecust
Copy link
Author

wvuecust commented Dec 3, 2020

@wvuecust I can't reproduce your error. Would you mind giving me a better description of what you did? Step-by-step. Here is mine:

  1. Open FOQUS
  2. Go to UQ tab
  3. Click "Load From File..." button
  4. Go to examples/tutorial_files/UQ/Tutorial_5/
  5. Select the only file in there "lptau5k_10inputs_4outputs.filtered"
  6. Click "Open"

And the file loads fine (see screenshot below)
Screen Shot 2020-12-03 at 9 25 28 AM

Thanks a lot. Problem solved.
Initially, I tried to open it from session, that doesn't work.

@ksbeattie ksbeattie mentioned this issue Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UQ Issues related to creating, filtering, and analyzing simulation ensembles
Projects
None yet
Development

No branches or pull requests

2 participants