-
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
dataobject rework: Optimizer #461
Merged
+746
−529
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
5c170c8
adaptive sparse grid, sobol working
PaulTalbot-INL e9c9347
Adaptive sampling, plus Dummy-based rlz updates from input, output
PaulTalbot-INL bbdbbf9
cleanup
PaulTalbot-INL 27699ed
added cluster labeling to outstream print, will be tested with optimizer
PaulTalbot-INL ac9feb3
optimizers working, but need to fix reading from CSV before merging
PaulTalbot-INL 80ceb1b
stash
PaulTalbot-INL f51566d
fixed prefix as numpy array
PaulTalbot-INL c60f110
loading CSV correctly now, so optimizer can find optimal solns
PaulTalbot-INL cf9aab1
cleanup
PaulTalbot-INL 4465ee1
now handling infs and nans
PaulTalbot-INL 58b9fdb
Merge branch 'talbpaul/csv-read-fix' into talbpaul/optimizer
PaulTalbot-INL 1583e10
mergefixes
PaulTalbot-INL 5e5a150
cleanup
PaulTalbot-INL e563371
added the option to avoid to reprint the files in case their content …
alfoa 97aac72
reverted 101 tests modified by the conversion scripts (by mistake)
alfoa 6efb5ad
reverted other tests
alfoa f384661
reverted tests user guide
alfoa 8db4e86
reverted all the other tests
alfoa 5dc8ea2
Update beale.xml
alfoa 068ecb9
removed "
alfoa a39aec0
Merge branch 'talbpaul/optimizer' of https://github.com/idaholab/rave…
alfoa 0f2eab5
Merge branch 'dataobject-rework' of https://github.com/idaholab/raven…
alfoa 82af4fc
removed abstract method that has been removed from the XDataSet
alfoa b3a8a6a
fixed with respect to the new prefix strategy
alfoa b9d437a
fixed loading of dataset in case no metadata are found in the xml (fi…
alfoa e1bd4d4
fixed type in ROM causing a failure
alfoa 7336602
fixed another typo that was making the Dummy.py model to fail
alfoa 480ce33
removed whitespace that was added from another commit
PaulTalbot-INL c1609c1
updated to use pd.isnull instead of np.isnan in unordered CSV differ
PaulTalbot-INL 70a2a99
test files for differ
PaulTalbot-INL 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
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.
I don't think this change actually changes anything ...
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.
It does...
finally:
is always executed and you were setting thehaveMeta = True
in there.So even if the
except
was setting thehaveMeta = False
the finally was always resetting it toTrue
causing the code to crash right below.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.
Oh, it should definitely be "else" instead of "finally". True. We should avoid putting too many things in the "try" though, as that is prone to misguided error statements.
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.
I hope
self.raiseADebug
never fails :)