Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-sitton-inl committed Jul 31, 2024
1 parent 9070f5f commit de2393f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def __init__(self, run_dir, **kwargs):
'sigma': None, # user can specify additional result statistics
'expectedValue': None,
'median': None}

self._python_command_for_raven = None # python command to use for raven executable

# clean up location
Expand Down Expand Up @@ -1325,15 +1325,15 @@ def get_opt_strategy(self):
@ Out, opt_strategy, str, name of optimization algorithm/strategy
"""
return self._optimization_strategy

def get_py_cmd_for_raven(self):
"""
Accessor
@ In, None
@ Out, py_cmd_for_raven, str, custom python command for running raven (if set)
"""
return self._python_command_for_raven

def set_py_cmd_for_raven(self, py_cmd):
"""
Mutator
Expand Down
2 changes: 1 addition & 1 deletion src/Testers/HeronIntegrationTester.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_heron_command(self, cmd):
if platform.system() == 'Windows':
cmd += ' bash.exe '
python = self._get_python_command()
# python-command is only for running HERON; python_command_for_raven is for running RAVEN on outer and inner
# python-command is for running HERON; python_command_for_raven is for running RAVEN inner
cmd += f' {self.heron_driver} --python-command="{python}" --python_command_for_raven="{python}" {heron_inp}'
return cmd, heron_inp

Expand Down

0 comments on commit de2393f

Please sign in to comment.