Skip to content

Commit e6d6f49

Browse files
author
Daniel Abercrombie
authored
Merge pull request #134 from dabercro/v10
Final v0.10 changes
2 parents ff02c43 + 290480b commit e6d6f49

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ env: TMPDIR=$PWD/tmp
1313
install:
1414
- pip install .
1515
script:
16+
- pip list
1617
- package=workflowwebtools opsspace-test

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
sphinx
1+
sphinx<2
22
sphinx_rtd_theme
33
sphinxcontrib-programoutput
44
sphinxcontrib-autoanysrc
55
-r ../workflowmonit/requirements.txt
6+
tensorflow # This should probably be installed separately for production

setup.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,18 @@
2323
'more-itertools<6.0.0',
2424
'cherrypy<18.0.0',
2525
'mako',
26-
'numpy>=1.6.1',
27-
'scipy==1.1.0',
28-
'scikit-learn==0.20.3',
26+
'numpy>=1.14.5,<1.17',
27+
'scikit-learn',
2928
'passlib>=1.6',
3029
'bcrypt',
3130
'pyOpenSSL',
32-
'pyyaml',
31+
'pytest>=4.4.2,<5.0'
32+
'pyyaml>=5.1',
3333
'validators',
3434
'tabulate',
3535
'pymongo<3.5.0',
3636
'cx_Oracle',
37-
'pandas',
38-
'keras',
39-
'tensorflow<2.0'
37+
'pandas<0.25.0',
38+
'keras'
4039
]
4140
)

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 <[email protected]>
55
"""
66

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

99
__all__ = []

workflowwebtools/manageactions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,13 @@ def submitaction(user, workflows, action, session=None, **kwargs):
182182
return workflows, reasons, params
183183

184184

185-
def submit2(documents): # pylint: disable=missing-docstring
185+
def submit2(user, documents): # pylint: disable=missing-docstring
186186
coll = get_actions_collection()
187187

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

workflowwebtools/workflowtools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def getworkflows(self, prepid):
215215
@cherrypy.tools.json_out()
216216
def submit2(self):
217217
input_json = cherrypy.request.json
218-
manageactions.submit2(input_json['documents'])
218+
manageactions.submit2(cherrypy.request.login, input_json['documents'])
219219
self.update_statuses()
220220
return {'message': 'Done'}
221221

0 commit comments

Comments
 (0)