From 59d73d971a696a11920cbafe0d64fb35a6affc6f Mon Sep 17 00:00:00 2001 From: Nabeel Merali Date: Sun, 7 Apr 2024 19:28:56 -0400 Subject: [PATCH] hot fix, output: --- src/sasctl/pzmm/write_score_wrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sasctl/pzmm/write_score_wrapper.py b/src/sasctl/pzmm/write_score_wrapper.py index 4576ec2f..f0966ef6 100644 --- a/src/sasctl/pzmm/write_score_wrapper.py +++ b/src/sasctl/pzmm/write_score_wrapper.py @@ -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" @@ -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"