File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Unreleased
55
66v1.2.5 (2019-10-10)
77-------------------
8+ ** Changes**
9+ - Registering an ASTORE model now creates an empty ASTORE file in Model Manager to be consistent with Model Studio behavior.
10+
811** Bugfixes**
912 - ` microanalytic_score.define_steps ` now works with steps having no input parameters.
1013 - Fixed an issue where score code generated from an ASTORE model lacked output variables.
Original file line number Diff line number Diff line change @@ -111,13 +111,17 @@ def create_package_from_astore(table):
111111 sess .loadactionset ('astore' )
112112
113113 result = sess .astore .describe (rstore = table , epcode = True )
114- astore = sess .astore .download (rstore = table )
115- if not hasattr (astore , "blob" ):
116- raise ValueError ("Failed to download binary data for ASTORE '%s'."
117- % astore )
118- astore = astore .blob
119-
120- astore = bytes (astore ) # Convert from SWAT blob type
114+ # astore = sess.astore.download(rstore=table)
115+ # if not hasattr(astore, "blob"):
116+ # raise ValueError("Failed to download binary data for ASTORE '%s'."
117+ # % astore)
118+ # astore = astore.blob
119+ #
120+ # astore = bytes(astore) # Convert from SWAT blob type
121+
122+ # Model Manager expects a 0-byte ASTORE file. Will retrieve actual ASTORE
123+ # from CAS during model publish.
124+ astore = bytes ()
121125
122126 # Raise error if describe action fails
123127 if result .status_code != 0 :
You can’t perform that action at this time.
0 commit comments