-
Notifications
You must be signed in to change notification settings - Fork 135
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
Alfoa/issue780 ls #781
Merged
Merged
Alfoa/issue780 ls #781
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1996c8e
dai
alfoa 8925566
Merge brant checkout workshop_:wq
alfoa 13bcea1
Merge branch 'devel' of https://github.com/idaholab/raven into devel
alfoa 95b615e
Merge branch 'devel' of https://github.com/idaholab/raven into devel
alfoa e417ae4
Closes #780
alfoa deeefd7
Update h5py_interface_creator.py
alfoa 31a1b3b
Update test_adaptive_sampler.xml
alfoa 0c91776
Update test_adaptive_sampler.xml
alfoa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue in #780 complains that
rlz
is None, the changes here did not reflect this. Could you explain it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. The issue reports a failure in the following line:
The reason was that since some of the adaptive samplers/optimizers construct a solution export DataObject without a prefix for each realization, the
rlz.get("prefix")
was returning None (not found keyword "prefix"). Now since the old machine was either expecting the prefix to be a string (basestring
) or a list, it was falling in the "not string case" so trying to access torlz.get("prefix")[0]
but the ruturn case was not a string not because it was a list but because it was None.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Thanks.