From f59db00d431fe565b73bbf7d5297539355f006cc Mon Sep 17 00:00:00 2001 From: Eric Suchyta Date: Thu, 13 Jul 2023 10:31:07 -0400 Subject: [PATCH 1/2] Fix _get_path that should be get_path --- codar/savanna/pipeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codar/savanna/pipeline.py b/codar/savanna/pipeline.py index e401118..f5b65ea 100644 --- a/codar/savanna/pipeline.py +++ b/codar/savanna/pipeline.py @@ -469,13 +469,13 @@ def _post_process_thread(self): args = [self.post_process_script] + self.post_process_args # TODO: make sure this doesn't conflict with other names name = 'post-process' - stdout_path = self._get_path(self.working_dir, + stdout_path = self.get_path(self.working_dir, STDOUT_NAME + "." + name, None) - stderr_path = self._get_path(self.working_dir, + stderr_path = self.get_path(self.working_dir, STDERR_NAME + "." + name, None) - return_path = self._get_path(self.working_dir, + return_path = self.get_path(self.working_dir, RETURN_NAME + "." + name, None) - walltime_path = self._get_path(self.working_dir, + walltime_path = self.get_path(self.working_dir, WALLTIME_NAME + "." + name, None) outf = errf = None From 036ddea95db6439948153aeb7c920681dcf876de Mon Sep 17 00:00:00 2001 From: Eric Suchyta Date: Thu, 13 Jul 2023 12:45:30 -0400 Subject: [PATCH 2/2] Remove self from get_path fix --- codar/savanna/pipeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codar/savanna/pipeline.py b/codar/savanna/pipeline.py index f5b65ea..082f486 100644 --- a/codar/savanna/pipeline.py +++ b/codar/savanna/pipeline.py @@ -469,13 +469,13 @@ def _post_process_thread(self): args = [self.post_process_script] + self.post_process_args # TODO: make sure this doesn't conflict with other names name = 'post-process' - stdout_path = self.get_path(self.working_dir, + stdout_path = get_path(self.working_dir, STDOUT_NAME + "." + name, None) - stderr_path = self.get_path(self.working_dir, + stderr_path = get_path(self.working_dir, STDERR_NAME + "." + name, None) - return_path = self.get_path(self.working_dir, + return_path = get_path(self.working_dir, RETURN_NAME + "." + name, None) - walltime_path = self.get_path(self.working_dir, + walltime_path = get_path(self.working_dir, WALLTIME_NAME + "." + name, None) outf = errf = None