Skip to content

Commit e4909c9

Browse files
committed
bug fix
1 parent 8c4245f commit e4909c9

File tree

4 files changed

+61
-55
lines changed

4 files changed

+61
-55
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
Unreleased
33
----------
44

5-
-
5+
**Bugfixes**
6+
- Fixed problem causing `register_model` task to include output variables in the input variables list.
7+
68

79
v1.1.2 (2019-8-12)
810
-----------------

src/sasctl/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def register_model(model, name, project, repository=None, input=None,
193193
assert isinstance(model, dict)
194194

195195
if create_project:
196-
vars = model.get('inputVariables', [])
196+
vars = model.get('inputVariables', []).copy()
197197
vars += model.get('outputVariables', [])
198198

199199
if model.get('function') == 'Regression':

0 commit comments

Comments
 (0)