Skip to content

Commit c86dfa8

Browse files
committed
v2.15.0
1 parent fdeec8b commit c86dfa8

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ relevant modules.
1818
Overview
1919
--------
2020

21-
At time of writing (early 2022), three scripts/modules are in production:
21+
Three scripts/modules are included in this repository:
2222

2323
- a general CUBE client
2424
- a more specific plugin search utility

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "python-chrisclient"
7-
version = "2.14.0"
7+
version = "2.15.0"
88
authors = [
99
{ name = "FNNDSC", email = "dev@babymri.org" },
1010
]

src/chrisclient/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ def compute_workflow_nodes_info(self, pipeline_default_parameters,
420420
'title': default_param['plugin_piping_title'],
421421
'cpu_limit': default_param['plugin_piping_cpu_limit'],
422422
'memory_limit': default_param['plugin_piping_memory_limit'],
423+
'gpu_limit': default_param['plugin_piping_gpu_limit'],
424+
'number_of_workers': default_param['plugin_piping_number_of_workers'],
423425
'plugin_parameter_defaults': []
424426
}
425427

tests/test_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def test_get_pipeline_default_parameters(self):
121121
self.assertIn('plugin_piping_title', first_param)
122122
self.assertIn('plugin_piping_cpu_limit', first_param)
123123
self.assertIn('plugin_piping_memory_limit', first_param)
124+
self.assertIn('plugin_piping_gpu_limit', first_param)
125+
self.assertIn('plugin_piping_number_of_workers', first_param)
124126

125127
def test_get_pipeline_default_parameters_unauthenticated(self):
126128
"""
@@ -180,6 +182,8 @@ def test_compute_workflow_nodes_info(self):
180182
self.assertIn('title', node)
181183
self.assertIn('cpu_limit', node)
182184
self.assertIn('memory_limit', node)
185+
self.assertIn('gpu_limit', node)
186+
self.assertIn('number_of_workers', node)
183187
if 'plugin_parameter_defaults' in node:
184188
for param in node['plugin_parameter_defaults']:
185189
self.assertIsNone(param['default'])

0 commit comments

Comments
 (0)