We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e982bf commit 96da42dCopy full SHA for 96da42d
src/sasctl/pzmm/write_score_code.py
@@ -206,7 +206,7 @@ def write_score_code(
206
if model_load:
207
cls.score_code += (
208
f"{'':4}try:\n{'':8}global model\n{'':4}"
209
- f"except NameError:\n{model_load}"
+ f"except NameError:\n{model_load}\n"
210
)
211
212
if missing_values:
@@ -541,6 +541,7 @@ def _impute_missing_values(
541
dtype_list : list of str
542
List of variable data types
543
"""
544
+ cls.score_code += "\n"
545
for var, dtype in zip(var_list, dtype_list):
546
# Split up between numeric and character variables
547
if any(t in dtype for t in ["int", "float"]):
0 commit comments