File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -303,9 +303,9 @@ def create_workflow_from_json(
303
303
reana_yaml ["outputs" ] = outputs
304
304
if workflow_file :
305
305
reana_yaml ["workflow" ]["file" ] = workflow_file
306
- reana_yaml ["workflow" ][
307
- "specification"
308
- ] = load_workflow_spec_from_reana_yaml ( reana_yaml , workspace_path )
306
+ reana_yaml ["workflow" ]["specification" ] = (
307
+ load_workflow_spec_from_reana_yaml ( reana_yaml , workspace_path )
308
+ )
309
309
else :
310
310
reana_yaml ["workflow" ]["specification" ] = workflow_json
311
311
# The function below loads the input parameters into the reana_yaml dictionary
Original file line number Diff line number Diff line change @@ -434,9 +434,11 @@ def validate_environment(self):
434
434
def _check_environment (environment ):
435
435
image = "{}{}" .format (
436
436
environment ["image" ],
437
- ":{}" .format (environment ["imagetag" ])
438
- if "imagetag" in environment
439
- else "" ,
437
+ (
438
+ ":{}" .format (environment ["imagetag" ])
439
+ if "imagetag" in environment
440
+ else ""
441
+ ),
440
442
)
441
443
k8s_uid = next (
442
444
(
You can’t perform that action at this time.
0 commit comments