diff --git a/src/sasctl/pzmm/write_score_code.py b/src/sasctl/pzmm/write_score_code.py index efd47220..afe7e468 100644 --- a/src/sasctl/pzmm/write_score_code.py +++ b/src/sasctl/pzmm/write_score_code.py @@ -562,12 +562,12 @@ def _viya35_model_load( f'{model_id}/{model_file_name}")))' ) else: - if pickle_type.lower() == 'pickle': + if pickle_type.lower() == "pickle": self.score_code += ( - f'model_path = Path("/models/resources/viya/{model_id}' - f'")\nwith open(model_path / "{model_file_name}", ' - f"\"rb\") as pickle_model:\n{'':4}model = pd.read_pickle" - "(pickle_model)\n\n" + f'model_path = Path("/models/resources/viya/{model_id}' + f'")\nwith open(model_path / "{model_file_name}", ' + f"\"rb\") as pickle_model:\n{'':4}model = pd.read_pickle" + "(pickle_model)\n\n" ) """ model_path = Path("/models/resources/viya/")