File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ Unreleased
44
55v1.5.1 (2020-4-1)
66----------------
7- - Fixed PyMAS utilities to correctly work functions not bound to pickled objects.
7+ - Fixed PyMAS utilities to correctly work functions not bound to pickled objects.
8+ - Model target variables should no longer appear as an input variable when registering ASTORE models.
89
910v1.5 (2020-2-23)
1011----------------
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ def create_files_from_astore(table):
213213 model_properties = _get_model_properties (result )
214214 input_vars = [get_variable_properties (var )
215215 for var in result .InputVariables .itertuples ()]
216+ input_vars = [v for v in input_vars if v .get ('role' , '' ).upper () == 'INPUT' ]
216217 output_vars = [get_variable_properties (var )
217218 for var in result .OutputVariables .itertuples ()]
218219 astore_filename = '_' + uuid .uuid4 ().hex [:25 ].upper ()
You can’t perform that action at this time.
0 commit comments