cloudos-cli 2.18.0__tar.gz → 2.19.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/PKG-INFO +5 -2
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/README.md +1 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/__main__.py +27 -4
- cloudos_cli-2.19.0/cloudos_cli/_version.py +1 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/PKG-INFO +5 -2
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/requires.txt +1 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/setup.py +1 -1
- cloudos_cli-2.18.0/cloudos_cli/_version.py +0 -1
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/LICENSE +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/clos.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/jobs/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/jobs/job.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/queue/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/queue/queue.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/utils/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/utils/errors.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli/utils/requests.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/SOURCES.txt +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/dependency_links.txt +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/entry_points.txt +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/cloudos_cli.egg-info/top_level.txt +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/setup.cfg +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/functions_for_pytest.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_create_cromwell_header.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_cromwell_switch.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_detect_workflow.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_cromwell_status.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_curated_workflow_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_job_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_job_status.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_project_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_user_info.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_get_workflow_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_is_module.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_process_job_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_process_project_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_process_workflow_list.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_wait_job_completion.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_clos/test_workflow_import.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_jobs/__init__.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_jobs/test_convert_nextflow_to_json.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_jobs/test_project_id.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_jobs/test_send_job.py +0 -0
- {cloudos_cli-2.18.0 → cloudos_cli-2.19.0}/tests/test_jobs/test_workflow_id.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudos_cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.19.0
|
|
4
4
|
Summary: Python package for interacting with CloudOS
|
|
5
5
|
Home-page: https://github.com/lifebit-ai/cloudos-cli
|
|
6
6
|
Author: David Piñeyro
|
|
@@ -12,6 +12,7 @@ Requires-Python: >=3.7
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: click>=8.0.1
|
|
15
|
+
Requires-Dist: rich-click>=1.8.2
|
|
15
16
|
Requires-Dist: pandas>=1.3.4
|
|
16
17
|
Requires-Dist: numpy==1.26.4
|
|
17
18
|
Requires-Dist: requests>=2.26.0
|
|
@@ -26,6 +27,7 @@ Dynamic: classifier
|
|
|
26
27
|
Dynamic: description
|
|
27
28
|
Dynamic: description-content-type
|
|
28
29
|
Dynamic: home-page
|
|
30
|
+
Dynamic: license-file
|
|
29
31
|
Dynamic: provides-extra
|
|
30
32
|
Dynamic: requires-dist
|
|
31
33
|
Dynamic: requires-python
|
|
@@ -46,6 +48,7 @@ click>=8.0.1
|
|
|
46
48
|
pandas>=1.3.4
|
|
47
49
|
numpy==1.26.4
|
|
48
50
|
requests>=2.26.0
|
|
51
|
+
rich_click>=1.8.2
|
|
49
52
|
```
|
|
50
53
|
|
|
51
54
|
## Installation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
|
-
import click
|
|
3
|
+
import rich_click as click
|
|
4
4
|
import cloudos_cli.jobs.job as jb
|
|
5
5
|
from cloudos_cli.clos import Cloudos
|
|
6
6
|
from cloudos_cli.queue.queue import Queue
|
|
@@ -18,6 +18,12 @@ JOB_FAILED = 'failed'
|
|
|
18
18
|
JOB_ABORTED = 'aborted'
|
|
19
19
|
JOB_RUNNING = 'running'
|
|
20
20
|
REQUEST_INTERVAL_CROMWELL = 30
|
|
21
|
+
AWS_NEXTFLOW_VERSIONS = ['22.10.8', '24.04.4']
|
|
22
|
+
AZURE_NEXTFLOW_VERSIONS = ['22.11.1-edge']
|
|
23
|
+
HPC_NEXTFLOW_VERSIONS = ['22.10.8']
|
|
24
|
+
AWS_NEXTFLOW_LATEST = '24.04.4'
|
|
25
|
+
AZURE_NEXTFLOW_LATEST = '22.11.1-edge'
|
|
26
|
+
HPC_NEXTFLOW_LATEST = '22.10.8'
|
|
21
27
|
|
|
22
28
|
|
|
23
29
|
def ssl_selector(disable_ssl_verification, ssl_cert):
|
|
@@ -126,7 +132,7 @@ def queue():
|
|
|
126
132
|
help=('Nextflow version to use when executing the workflow in CloudOS. ' +
|
|
127
133
|
'Please, note that versions above 22.10.8 are only DSL2 compatible. ' +
|
|
128
134
|
'Default=22.10.8.'),
|
|
129
|
-
type=click.Choice(['22.10.8', '24.04.4', 'latest']),
|
|
135
|
+
type=click.Choice(['22.10.8', '24.04.4', '22.11.1-edge', 'latest']),
|
|
130
136
|
default='22.10.8')
|
|
131
137
|
@click.option('--git-commit',
|
|
132
138
|
help=('The exact whole 40 character commit hash to run for ' +
|
|
@@ -410,9 +416,26 @@ def run(apikey,
|
|
|
410
416
|
else:
|
|
411
417
|
docker_login = False
|
|
412
418
|
if nextflow_version == 'latest':
|
|
413
|
-
|
|
414
|
-
|
|
419
|
+
if execution_platform == 'aws':
|
|
420
|
+
nextflow_version = AWS_NEXTFLOW_LATEST
|
|
421
|
+
elif execution_platform == 'azure':
|
|
422
|
+
nextflow_version = AZURE_NEXTFLOW_LATEST
|
|
423
|
+
else:
|
|
424
|
+
nextflow_version = HPC_NEXTFLOW_LATEST
|
|
425
|
+
print(f'[Message] You have specified Nextflow version \'latest\' for execution platform \'{execution_platform}\'. The workflow will use the ' +
|
|
415
426
|
f'latest version available on CloudOS: {nextflow_version}.')
|
|
427
|
+
if execution_platform == 'aws':
|
|
428
|
+
if nextflow_version not in AWS_NEXTFLOW_VERSIONS:
|
|
429
|
+
print(f'[Message] For execution platform \'aws\', the workflow will use the default \'22.10.8\' version on CloudOS.')
|
|
430
|
+
nextflow_version = '22.10.8'
|
|
431
|
+
if execution_platform == 'azure':
|
|
432
|
+
if nextflow_version not in AZURE_NEXTFLOW_VERSIONS:
|
|
433
|
+
print(f'[Message] For execution platform \'azure\', the workflow will use the \'22.11.1-edge\' version on CloudOS.')
|
|
434
|
+
nextflow_version = '22.11.1-edge'
|
|
435
|
+
if execution_platform == 'hpc':
|
|
436
|
+
if nextflow_version not in HPC_NEXTFLOW_VERSIONS:
|
|
437
|
+
print(f'[Message] For execution platform \'hpc\', the workflow will use the \'22.10.8\' version on CloudOS.')
|
|
438
|
+
nextflow_version = '22.10.8'
|
|
416
439
|
if nextflow_version != '22.10.8':
|
|
417
440
|
print(f'[Warning] You have specified Nextflow version {nextflow_version}. This version requires the pipeline ' +
|
|
418
441
|
'to be written in DSL2 and does not support DSL1.')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '2.19.0'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudos_cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.19.0
|
|
4
4
|
Summary: Python package for interacting with CloudOS
|
|
5
5
|
Home-page: https://github.com/lifebit-ai/cloudos-cli
|
|
6
6
|
Author: David Piñeyro
|
|
@@ -12,6 +12,7 @@ Requires-Python: >=3.7
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: click>=8.0.1
|
|
15
|
+
Requires-Dist: rich-click>=1.8.2
|
|
15
16
|
Requires-Dist: pandas>=1.3.4
|
|
16
17
|
Requires-Dist: numpy==1.26.4
|
|
17
18
|
Requires-Dist: requests>=2.26.0
|
|
@@ -26,6 +27,7 @@ Dynamic: classifier
|
|
|
26
27
|
Dynamic: description
|
|
27
28
|
Dynamic: description-content-type
|
|
28
29
|
Dynamic: home-page
|
|
30
|
+
Dynamic: license-file
|
|
29
31
|
Dynamic: provides-extra
|
|
30
32
|
Dynamic: requires-dist
|
|
31
33
|
Dynamic: requires-python
|
|
@@ -46,6 +48,7 @@ click>=8.0.1
|
|
|
46
48
|
pandas>=1.3.4
|
|
47
49
|
numpy==1.26.4
|
|
48
50
|
requests>=2.26.0
|
|
51
|
+
rich_click>=1.8.2
|
|
49
52
|
```
|
|
50
53
|
|
|
51
54
|
## Installation
|
|
@@ -23,7 +23,7 @@ setuptools.setup(
|
|
|
23
23
|
entry_points={"console_scripts": [
|
|
24
24
|
"cloudos=cloudos_cli.__main__:run_cloudos_cli"
|
|
25
25
|
]},
|
|
26
|
-
install_requires=["click>=8.0.1", "pandas>=1.3.4", "numpy==1.26.4", "requests>=2.26.0"],
|
|
26
|
+
install_requires=["click>=8.0.1", "rich-click>=1.8.2", "pandas>=1.3.4", "numpy==1.26.4", "requests>=2.26.0"],
|
|
27
27
|
extras_require={
|
|
28
28
|
"test": ["pytest", "mock", "responses", "requests_mock"]
|
|
29
29
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '2.18.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|