Skip to content

Commit

Permalink
removed clearRunDir
Browse files Browse the repository at this point in the history
  • Loading branch information
aalfonsi committed Oct 21, 2021
1 parent e54cdee commit 38c8a7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit 38c8a7d

Please sign in to comment.