|
69 | 69 | help='Just generates run.sh and exits. Does not actually invoke ./run.sh')
|
70 | 70 | group_run.add_argument('--run_local', default=False, action="store_true",
|
71 | 71 | help='After generating the cwl file(s), run it on your local machine.')
|
72 |
| -group_run.add_argument('--run_compute', default=False, action="store_true", |
73 |
| - help='After generating the cwl file(s), run it on the remote labshare Compute platform.') |
74 |
| -parser.add_argument('--compute_driver', type=str, required=False, default='slurm', choices=['slurm', 'argo'], |
75 |
| - help='The driver to use for running workflows on labshare Compute.') |
76 |
| -# Use required=('--run_compute' in sys.argv) make other args conditionally required. |
77 |
| -# See https://stackoverflow.com/questions/19414060/argparse-required-argument-y-if-x-is-present |
78 |
| -# For example, if run_compute is enabled, you MUST enable cwl_inline_subworkflows! |
79 |
| -# Plugins with 'class: Workflow' (i.e. subworkflows) are not currently supported. |
80 | 72 |
|
81 |
| -parser.add_argument('--cwl_inline_subworkflows', default=('--run_compute' in sys.argv), action="store_true", |
82 |
| - help='Before generating the cwl file, inline all subworkflows. Required for --run_compute') |
| 73 | +parser.add_argument('--cwl_inline_subworkflows', default=False, action="store_true", |
| 74 | + help='Before generating the cwl file, inline all subworkflows.') |
83 | 75 | parser.add_argument('--inference_disable', default=False, action="store_true",
|
84 | 76 | help='Disables use of the inference algorithm when compiling.')
|
85 | 77 | parser.add_argument('--inference_use_naming_conventions', default=False, action="store_true",
|
|
95 | 87 | parser.add_argument('--cachedir', type=str, required=False, default='cachedir',
|
96 | 88 | help='The directory to save intermediate results; useful with RealtimePlots.py')
|
97 | 89 |
|
98 |
| -AWS_URL = 'http://compute.ci.aws.labshare.org' |
99 |
| -NCATS_URL = 'https://compute.scb-ncats.io/' |
100 |
| - |
101 |
| -parser.add_argument('--compute_url', type=str, default=NCATS_URL, |
102 |
| - help='The URL associated with the labshare Compute API. Required for --run_compute') |
103 |
| -parser.add_argument('--compute_access_token', type=str, required=('--run_compute' in sys.argv), |
104 |
| - help="""The access_token used for authentication. Required for --run_compute |
105 |
| - For now, get this manually from https://a-qa.labshare.org/""") |
106 |
| - |
107 | 90 | parser.add_argument('--graphviz', default=False, action="store_true",
|
108 | 91 | help='Generate a DAG using graphviz.')
|
109 | 92 | parser.add_argument('--graph_label_edges', default=False, action="store_true",
|
|
0 commit comments