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
5
5
6
6
v1.2.5 (2019-10-10)
7
7
-------------------
8
+ ** Changes**
9
+ - Registering an ASTORE model now creates an empty ASTORE file in Model Manager to be consistent with Model Studio behavior.
10
+
8
11
** Bugfixes**
9
12
- ` microanalytic_score.define_steps ` now works with steps having no input parameters.
10
13
- 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):
111
111
sess .loadactionset ('astore' )
112
112
113
113
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 ()
121
125
122
126
# Raise error if describe action fails
123
127
if result .status_code != 0 :
You can’t perform that action at this time.
0 commit comments