Skip to content

Commit 96da42d

Browse files
committed
Fix for indentation error between model load statement and data imputation statement.
1 parent 0e982bf commit 96da42d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sasctl/pzmm/write_score_code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def write_score_code(
206206
if model_load:
207207
cls.score_code += (
208208
f"{'':4}try:\n{'':8}global model\n{'':4}"
209-
f"except NameError:\n{model_load}"
209+
f"except NameError:\n{model_load}\n"
210210
)
211211

212212
if missing_values:
@@ -541,6 +541,7 @@ def _impute_missing_values(
541541
dtype_list : list of str
542542
List of variable data types
543543
"""
544+
cls.score_code += "\n"
544545
for var, dtype in zip(var_list, dtype_list):
545546
# Split up between numeric and character variables
546547
if any(t in dtype for t in ["int", "float"]):

0 commit comments

Comments
 (0)