cloudos-cli 2.19.0__tar.gz → 2.19.1__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.
Files changed (47) hide show
  1. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/PKG-INFO +5 -5
  2. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/README.md +4 -4
  3. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/__main__.py +2 -2
  4. cloudos_cli-2.19.1/cloudos_cli/_version.py +1 -0
  5. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/clos.py +1 -1
  6. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/jobs/job.py +1 -1
  7. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/PKG-INFO +5 -5
  8. cloudos_cli-2.19.0/cloudos_cli/_version.py +0 -1
  9. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/LICENSE +0 -0
  10. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/__init__.py +0 -0
  11. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/jobs/__init__.py +0 -0
  12. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/queue/__init__.py +0 -0
  13. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/queue/queue.py +0 -0
  14. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/utils/__init__.py +0 -0
  15. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/utils/errors.py +0 -0
  16. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli/utils/requests.py +0 -0
  17. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/SOURCES.txt +0 -0
  18. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/dependency_links.txt +0 -0
  19. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/entry_points.txt +0 -0
  20. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/requires.txt +0 -0
  21. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/cloudos_cli.egg-info/top_level.txt +0 -0
  22. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/setup.cfg +0 -0
  23. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/setup.py +0 -0
  24. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/__init__.py +0 -0
  25. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/functions_for_pytest.py +0 -0
  26. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/__init__.py +0 -0
  27. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_create_cromwell_header.py +0 -0
  28. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_cromwell_switch.py +0 -0
  29. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_detect_workflow.py +0 -0
  30. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_cromwell_status.py +0 -0
  31. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_curated_workflow_list.py +0 -0
  32. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_job_list.py +0 -0
  33. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_job_status.py +0 -0
  34. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_project_list.py +0 -0
  35. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_user_info.py +0 -0
  36. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_get_workflow_list.py +0 -0
  37. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_is_module.py +0 -0
  38. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_process_job_list.py +0 -0
  39. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_process_project_list.py +0 -0
  40. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_process_workflow_list.py +0 -0
  41. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_wait_job_completion.py +0 -0
  42. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_clos/test_workflow_import.py +0 -0
  43. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_jobs/__init__.py +0 -0
  44. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_jobs/test_convert_nextflow_to_json.py +0 -0
  45. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_jobs/test_project_id.py +0 -0
  46. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_jobs/test_send_job.py +0 -0
  47. {cloudos_cli-2.19.0 → cloudos_cli-2.19.1}/tests/test_jobs/test_workflow_id.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudos_cli
3
- Version: 2.19.0
3
+ Version: 2.19.1
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
@@ -285,10 +285,10 @@ If everything went well, you should see something like:
285
285
 
286
286
  ```console
287
287
  Executing run...
288
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355
288
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355
289
289
  Your assigned job id is: 62c83a1191fe06013b7ef355
290
290
  Your current job status is: initializing
291
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or use the following command:
291
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or use the following command:
292
292
  cloudos job status \
293
293
  --apikey $MY_API_KEY \
294
294
  --cloudos-url https://cloudos.lifebit.ai \
@@ -321,7 +321,7 @@ previous command should have an output similar to:
321
321
 
322
322
  ```console
323
323
  Executing run...
324
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a6191fe06013b7ef363
324
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a6191fe06013b7ef363
325
325
  Your assigned job id is: 62c83a6191fe06013b7ef363
326
326
  Please, wait until job completion or max wait time of 3600 seconds is reached.
327
327
  Your current job status is: initializing.
@@ -423,7 +423,7 @@ The expected output should be something similar to:
423
423
  Executing status...
424
424
  Your current job status is: completed
425
425
 
426
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or repeat the command you just used.
426
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or repeat the command you just used.
427
427
  ```
428
428
 
429
429
  #### Get a list of your jobs from a CloudOS workspace
@@ -250,10 +250,10 @@ If everything went well, you should see something like:
250
250
 
251
251
  ```console
252
252
  Executing run...
253
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355
253
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355
254
254
  Your assigned job id is: 62c83a1191fe06013b7ef355
255
255
  Your current job status is: initializing
256
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or use the following command:
256
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or use the following command:
257
257
  cloudos job status \
258
258
  --apikey $MY_API_KEY \
259
259
  --cloudos-url https://cloudos.lifebit.ai \
@@ -286,7 +286,7 @@ previous command should have an output similar to:
286
286
 
287
287
  ```console
288
288
  Executing run...
289
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a6191fe06013b7ef363
289
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a6191fe06013b7ef363
290
290
  Your assigned job id is: 62c83a6191fe06013b7ef363
291
291
  Please, wait until job completion or max wait time of 3600 seconds is reached.
292
292
  Your current job status is: initializing.
@@ -388,7 +388,7 @@ The expected output should be something similar to:
388
388
  Executing status...
389
389
  Your current job status is: completed
390
390
 
391
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or repeat the command you just used.
391
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or repeat the command you just used.
392
392
  ```
393
393
 
394
394
  #### Get a list of your jobs from a CloudOS workspace
@@ -466,7 +466,7 @@ def run(apikey,
466
466
  docker_login=docker_login,
467
467
  verify=verify_ssl)
468
468
  print(f'\tYour assigned job id is: {j_id}\n')
469
- j_url = f'{cloudos_url}/app/jobs/{j_id}'
469
+ j_url = f'{cloudos_url}/app/advanced-analytics/analyses/{j_id}'
470
470
  if wait_completion:
471
471
  print('\tPlease, wait until job completion (max wait time of ' +
472
472
  f'{wait_time} seconds).\n')
@@ -752,7 +752,7 @@ def job_status(apikey,
752
752
  j_status = cl.get_job_status(job_id, verify_ssl)
753
753
  j_status_h = json.loads(j_status.content)["status"]
754
754
  print(f'\tYour current job status is: {j_status_h}\n')
755
- j_url = f'{cloudos_url}/app/jobs/{job_id}'
755
+ j_url = f'{cloudos_url}/app/advanced-analytics/analyses/{job_id}'
756
756
  print(f'\tTo further check your job status you can either go to {j_url} ' +
757
757
  'or repeat the command you just used.')
758
758
 
@@ -0,0 +1 @@
1
+ __version__ = '2.19.1'
@@ -87,7 +87,7 @@ class Cloudos:
87
87
  : dict
88
88
  A dict with three elements collected from the job status: 'name', 'id', 'status'.
89
89
  """
90
- j_url = f'{self.cloudos_url}/app/jobs/{job_id}'
90
+ j_url = f'{self.cloudos_url}/app/advanced-analytics/analyses/{job_id}'
91
91
  elapsed = 0
92
92
  j_status_h_old = ''
93
93
  # make sure user doesn't surpass the wait time
@@ -544,5 +544,5 @@ class Job(Cloudos):
544
544
  raise BadRequestException(r)
545
545
  j_id = json.loads(r.content)["_id"]
546
546
  print('\tJob successfully launched to CloudOS, please check the ' +
547
- f'following link: {cloudos_url}/app/jobs/{j_id}')
547
+ f'following link: {cloudos_url}/app/advanced-analytics/analyses/{j_id}')
548
548
  return j_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudos_cli
3
- Version: 2.19.0
3
+ Version: 2.19.1
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
@@ -285,10 +285,10 @@ If everything went well, you should see something like:
285
285
 
286
286
  ```console
287
287
  Executing run...
288
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355
288
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355
289
289
  Your assigned job id is: 62c83a1191fe06013b7ef355
290
290
  Your current job status is: initializing
291
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or use the following command:
291
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or use the following command:
292
292
  cloudos job status \
293
293
  --apikey $MY_API_KEY \
294
294
  --cloudos-url https://cloudos.lifebit.ai \
@@ -321,7 +321,7 @@ previous command should have an output similar to:
321
321
 
322
322
  ```console
323
323
  Executing run...
324
- Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/jobs/62c83a6191fe06013b7ef363
324
+ Job successfully launched to CloudOS, please check the following link: https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a6191fe06013b7ef363
325
325
  Your assigned job id is: 62c83a6191fe06013b7ef363
326
326
  Please, wait until job completion or max wait time of 3600 seconds is reached.
327
327
  Your current job status is: initializing.
@@ -423,7 +423,7 @@ The expected output should be something similar to:
423
423
  Executing status...
424
424
  Your current job status is: completed
425
425
 
426
- To further check your job status you can either go to https://cloudos.lifebit.ai/app/jobs/62c83a1191fe06013b7ef355 or repeat the command you just used.
426
+ To further check your job status you can either go to https://cloudos.lifebit.ai/app/advanced-analytics/analyses/62c83a1191fe06013b7ef355 or repeat the command you just used.
427
427
  ```
428
428
 
429
429
  #### Get a list of your jobs from a CloudOS workspace
@@ -1 +0,0 @@
1
- __version__ = '2.19.0'
File without changes
File without changes
File without changes