-
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
Specialized Plot sub-directory ignoring (Fix) #2314
Changes from all commits
9722253
dcff5af
d04f80c
7a2f707
befeca5
fa032d7
5e6e903
51b791e
f85cedd
abcba15
1ff5a1d
eb40064
5d5409b
b2726f1
3978672
f1fd26b
5c0aaea
77351bd
049ee56
b22e359
f4b6c74
8cab183
35dd60d
5ce6d75
5dd7957
1172e7e
6af8c9a
eddf8a7
d2c2067
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -742,7 +742,7 @@ def __advanceModel(self, identifier, modelToExecute, origInputList, inputKwargs, | |
# we evaluate the model directly | ||
try: | ||
evaluation = modelToExecute['Instance'].evaluateSample.original_function(modelToExecute['Instance'], origInputList, samplerType, inputKwargs) | ||
except Exception as e: | ||
except Exception: | ||
excType, excValue, excTrace = sys.exc_info() | ||
evaluation = None | ||
else: | ||
|
@@ -759,9 +759,12 @@ def __advanceModel(self, identifier, modelToExecute, origInputList, inputKwargs, | |
finishedRun = jobHandler.getFinished(jobIdentifier = localIdentifier, uniqueHandler=self.name+identifier) | ||
evaluation = finishedRun[0].getEvaluation() | ||
if isinstance(evaluation, rerror): | ||
if finishedRun[0].exceptionTrace is not None: | ||
excType, excValue, excTrace = finishedRun[0].exceptionTrace | ||
else: | ||
# the failure happened at the input creation stage | ||
excType, excValue, excTrace = IOError, IOError("Failure happened at the input creation stage. See trace above"), None | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe related to the Genetic Algo issue with ensemble model |
||
evaluation = None | ||
excType, excValue, excTrace = finishedRun[0].exceptionTrace | ||
e = rerror | ||
# the model failed | ||
for modelToRemove in list(set(self.orderList) - set([modelToExecute['Instance'].name])): | ||
jobHandler.getFinished(jobIdentifier = modelToRemove + utils.returnIdSeparator() + identifier, uniqueHandler = self.name + identifier) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ def __init__(self): | |
self.printTag = 'OutStreamInterface' | ||
self.overwrite = True # overwrite existing creations? | ||
self.subDirectory = None # directory to save generated files to | ||
self.filename = '' # target file name | ||
self.filename = None # target file name | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is a better default to discern between case where the filename has been inputted and cases where has not |
||
self.numberAggregatedOS = 1 # number of aggregated outstreams # no addl info from original OutStream | ||
|
||
def handleInput(self, spec): | ||
|
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.
e
is not used anywhere