Skip to content

Commit ad10531

Browse files
committed
Fix leftover global variable issue in writeScoreCode
1 parent 535888d commit ad10531

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sasctl/pzmm/writeScoreCode.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ def upload_and_copy_score_resources(model, files):
163163
cls.pyFile.write('''\n
164164
import settings''')
165165

166-
# Use a global variable for the model in order to load from memory only once
167-
cls.pyFile.write('''\n\n
168-
_thisModelFit''')
169-
170166
# For H2O models, include the server initialization, or h2o.connect() call to use an H2O server
171167
if isH2OModel:
172168
cls.pyFile.write('''\n

0 commit comments

Comments
 (0)