firecloud 0.16.40__tar.gz → 0.16.41__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.
- {firecloud-0.16.40 → firecloud-0.16.41}/PKG-INFO +1 -1
- firecloud-0.16.41/firecloud/__about__.py +2 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/api.py +7 -1
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/fiss.py +5 -1
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/PKG-INFO +1 -1
- firecloud-0.16.40/firecloud/__about__.py +0 -2
- {firecloud-0.16.40 → firecloud-0.16.41}/LICENSE +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/README +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/__init__.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/config.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/entity.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/errors.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/fccore.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/method.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/submission.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/supervisor.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud/workspace.py +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/SOURCES.txt +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/dependency_links.txt +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/entry_points.txt +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/requires.txt +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/firecloud.egg-info/top_level.txt +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/setup.cfg +0 -0
- {firecloud-0.16.40 → firecloud-0.16.41}/setup.py +0 -0
|
@@ -1191,7 +1191,8 @@ def create_submission(wnamespace, workspace, cnamespace, config,
|
|
|
1191
1191
|
entity=None, etype=None, expression=None,
|
|
1192
1192
|
use_callcache=True, delete_intermediate_output_files=False,
|
|
1193
1193
|
use_reference_disks=False, memory_retry_multiplier=0,
|
|
1194
|
-
workflow_failure_mode="", user_comment=""
|
|
1194
|
+
workflow_failure_mode="", user_comment="",
|
|
1195
|
+
per_workflow_cost_cap=None):
|
|
1195
1196
|
"""Submit job in FireCloud workspace.
|
|
1196
1197
|
|
|
1197
1198
|
Args:
|
|
@@ -1225,6 +1226,8 @@ def create_submission(wnamespace, workspace, cnamespace, config,
|
|
|
1225
1226
|
for more information.
|
|
1226
1227
|
user_comment: Freeform user defined description, optional (max length
|
|
1227
1228
|
1000 characters)
|
|
1229
|
+
per_workflow_cost_cap (float): A cost threshold in USD to apply to individual
|
|
1230
|
+
workflows. When the estimated cost is exceeded, the workflow is terminated.
|
|
1228
1231
|
|
|
1229
1232
|
Swagger:
|
|
1230
1233
|
https://api.firecloud.org/#!/Submissions/createSubmission
|
|
@@ -1254,6 +1257,9 @@ def create_submission(wnamespace, workspace, cnamespace, config,
|
|
|
1254
1257
|
|
|
1255
1258
|
if memory_retry_multiplier:
|
|
1256
1259
|
body['memoryRetryMultiplier'] = memory_retry_multiplier
|
|
1260
|
+
|
|
1261
|
+
if per_workflow_cost_cap:
|
|
1262
|
+
body['perWorkflowCostCap'] = per_workflow_cost_cap
|
|
1257
1263
|
|
|
1258
1264
|
if workflow_failure_mode:
|
|
1259
1265
|
body['workflowFailureMode'] = workflow_failure_mode
|
|
@@ -610,7 +610,7 @@ def config_start(args):
|
|
|
610
610
|
args.expression, cache,
|
|
611
611
|
args.delete_intermediates, args.ref_disks,
|
|
612
612
|
args.mem_retry_multiplier, args.failure_mode,
|
|
613
|
-
args.user_comment)
|
|
613
|
+
args.user_comment, args.per_workflow_cost_cap)
|
|
614
614
|
fapi._check_response_code(r, 201)
|
|
615
615
|
id = r.json()['submissionId']
|
|
616
616
|
|
|
@@ -2815,6 +2815,10 @@ def main(argv=None):
|
|
|
2815
2815
|
'this amount. See Cromwell docs ' +
|
|
2816
2816
|
'(https://cromwell.readthedocs.io/en/develop/cromwell_features/RetryWithMoreMemory)' +
|
|
2817
2817
|
' for more information.')
|
|
2818
|
+
subp.add_argument('-P', '--per_workflow_cost_cap', type=float,
|
|
2819
|
+
help='A cost threshold in USD to apply to individual ' +
|
|
2820
|
+
'workflows. When the estimated cost is exceeded, the ' +
|
|
2821
|
+
'workflow is terminated.')
|
|
2818
2822
|
subp.add_argument('-f', '--failure_mode',
|
|
2819
2823
|
choices=['NoNewCalls', 'ContinueWhilePossible'],
|
|
2820
2824
|
help='What happens after a task fails. Defaults to ' +
|
|
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
|