Skip to content

Commit

Permalink
Fix hardcoded output file file path for Gams Tool Specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavol committed Dec 19, 2024
1 parent 38f5bdf commit 48b8b53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spine_items/tool/tool_specifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,12 @@ def __init__(
outputfiles,
cmdline_args,
)
main_file = includes[0]
main_file_path = includes[0]
# Add .lst file to list of output files
subdir, main_file = os.path.split(main_file_path)
self.lst_file = os.path.splitext(main_file)[0] + ".lst"
self.outputfiles.add(self.lst_file)
self.main_prgm = main_file
self.main_prgm = main_file_path
self.gams_options = OrderedDict()
self.return_codes = {
0: "Normal return",
Expand Down

0 comments on commit 48b8b53

Please sign in to comment.