Skip to content

Commit 7d93a1c

Browse files
committed
Fix issue where inputVar.json was using float values that are unreadable for SAS Model Manager on model import.
1 parent 7d14607 commit 7d93a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/pzmm/write_json_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def generate_variable_properties(
200200
{
201201
"level": "nominal",
202202
"type": "string",
203-
"length": predict.str.len().max(),
203+
"length": int(predict.str.len().max()),
204204
}
205205
)
206206
else:

0 commit comments

Comments
 (0)