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

ClearRunDir must be set to False if interfaceCheck is activated #1689

Merged
merged 17 commits into from
Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion framework/Steps/Step.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#External Modules------------------------------------------------------------------------------------
import abc
import os
#External Modules End--------------------------------------------------------------------------------

#Internal Modules------------------------------------------------------------------------------------
Expand Down Expand Up @@ -164,7 +165,10 @@ def _handleInput(self, paramInput):
self.raiseAnError(IOError,printString.format(self.type,self.name,self.initSeed,'re-seeding'))
if 'sleepTime' in paramInput.parameterValues:
self.sleepTime = paramInput.parameterValues['sleepTime']
self._clearRunDir = paramInput.parameterValues.get('clearRunDir', True)
if os.environ['RAVENinterfaceCheck'] == 'True':
self._clearRunDir = False
else:
self._clearRunDir = paramInput.parameterValues.get('clearRunDir', True)
for child in paramInput.subparts:
classType = child.parameterValues['class']
classSubType = child.parameterValues['type']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<revision author="alfoa" date="2018-10-01">This is a requirement test now. Req. R-SI-1</revision>
<revision author="alfoa" date="2019-12-05">Modified to check we can handle multiple words in the same card.</revision>
<revision author="alfoa" date="2020-10-31">Added csv xml node in the Code block for showing how to use it.</revision>
<revision author="alfoa" date="2021-10-21">Removed clearRunDir flag since in case of interfaceCheck this is set to False automatically (see issue #1688)</revision>
</revisions>
<requirements>R-SI-1</requirements>
</TestInfo>
Expand Down Expand Up @@ -115,7 +116,7 @@
</Samplers>

<Steps>
<MultiRun name="testDummyStep" re-seeding="1" clearRunDir="False">
<MultiRun name="testDummyStep" re-seeding="1">
<Input class="Files" type="">snc01.i</Input>
<Input class="Files" type="">tpfh2o</Input>
<Model class="Models" type="Code">MyRELAP</Model>
Expand Down