From de2393f84e11af0388880e65fcd4647d40db23d6 Mon Sep 17 00:00:00 2001 From: Caleb Sitton Date: Wed, 31 Jul 2024 12:55:17 -0600 Subject: [PATCH] Minor fixes --- src/Cases.py | 6 +++--- src/Testers/HeronIntegrationTester.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Cases.py b/src/Cases.py index 3b5caa4a..dbe38e43 100644 --- a/src/Cases.py +++ b/src/Cases.py @@ -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 @@ -1325,7 +1325,7 @@ 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 @@ -1333,7 +1333,7 @@ def get_py_cmd_for_raven(self): @ 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 diff --git a/src/Testers/HeronIntegrationTester.py b/src/Testers/HeronIntegrationTester.py index 198bbaf0..b5f6eb3f 100644 --- a/src/Testers/HeronIntegrationTester.py +++ b/src/Testers/HeronIntegrationTester.py @@ -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