Skip to content

Commit b2608c9

Browse files
author
Daniel Abercrombie
committed
Merge branch 'pass-user' into user
2 parents c5cfb24 + 95da2d3 commit b2608c9

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
'cherrypy<18.0.0',
2424
'mako',
2525
'numpy>=1.14.5,<1.17',
26-
'scipy==1.1.0',
27-
'scikit-learn==0.20.3',
26+
'scikit-learn',
2827
'passlib>=1.6',
2928
'bcrypt',
3029
'pyOpenSSL',
@@ -35,7 +34,6 @@
3534
'pymongo<3.5.0',
3635
'cx_Oracle',
3736
'pandas<0.25.0',
38-
'keras',
39-
'tensorflow<2.0'
37+
'keras'
4038
]
4139
)

workflowwebtools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
:author: Daniel Abercrombie <dabercro@mit.edu>
55
"""
66

7-
__version__ = '0.10.1'
7+
__version__ = '0.10.2'
88

99
__all__ = []

workflowwebtools/manageactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ def submit2(user, documents): # pylint: disable=missing-docstring
188188
for document in documents:
189189
workflow = document['workflow']
190190
params = document['parameters']
191+
params['user'] = user
191192

192193
cherrypy.log('About to insert workflow: %s action: %s' % (workflow, params))
193194

194195
coll.update_one({'workflow': workflow},
195196
{'$set':
196197
{'timestamp': int(time.time()),
197-
'user': user,
198198
'parameters': params,
199199
'acted': 0}},
200200
upsert=True)

0 commit comments

Comments
 (0)