Skip to content

Commit

Permalink
hotfix: remove quotes around input files because logic that obtains p…
Browse files Browse the repository at this point in the history
…ython embedding commands as input file arguments handles quotes
  • Loading branch information
georgemccabe committed Nov 13, 2024
1 parent 5a8e562 commit 56670c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metplus/wrappers/plot_point_obs_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def create_c_dict(self):

def get_command(self):
return (f"{self.app_path} -v {self.c_dict['VERBOSITY']}"
f' "{self.infiles[0]}" {self.get_output_path()}'
f' {self.infiles[0]} {self.get_output_path()}'
f" {' '.join(self.args)}")

def find_input_files(self, time_info):
Expand Down Expand Up @@ -222,7 +222,7 @@ def set_command_line_arguments(self, time_info):
"""
# if more than 1 input file was found, add them with -point_obs
for infile in self.infiles[1:]:
self.args.append(f'-point_obs "{infile}"')
self.args.append(f'-point_obs {infile}')

if self.c_dict.get('GRID_INPUT_PATH'):
grid_file = do_string_sub(self.c_dict['GRID_INPUT_PATH'],
Expand Down

0 comments on commit 56670c9

Please sign in to comment.