Skip to content

Commit

Permalink
hot fix, output:
Browse files Browse the repository at this point in the history
  • Loading branch information
namera9 committed Apr 7, 2024
1 parent fb16a1e commit 59d73d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sasctl/pzmm/write_score_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def write_score_wrapper_function_input(cls,
# Define the score function and add the function body specified
cls.score_wrapper += f"{function_definition}:\n"
cls.score_wrapper += '\t"'
cls.score_wrapper += "Output Variables: " + ", ".join(output_variables) # Join output variables with comma
cls.score_wrapper += "Output: " + ", ".join(output_variables) # Join output variables with comma
cls.score_wrapper += '"\n'
cls.score_wrapper += "\tglobal model\n"
cls.score_wrapper += "\ttry:\n"
Expand Down Expand Up @@ -110,7 +110,7 @@ def write_score_wrapper_file_input(cls,
# define the generic score function, and append the score_function_body to evaluate the model.
cls.score_wrapper += f"def score({score_function_input_parameters}):\n"
cls.score_wrapper += '\t"'
cls.score_wrapper += "Output Variables: " + ", ".join(output_variables) # Join output variables with comma
cls.score_wrapper += "Output: " + ", ".join(output_variables) # Join output variables with comma
cls.score_wrapper += '"\n'

cls.score_wrapper += "\tglobal model\n"
Expand Down

0 comments on commit 59d73d9

Please sign in to comment.