File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -568,3 +568,16 @@ def use_gamma_vasp(original_wf, gamma_vasp_cmd):
568
568
for idx_fw , idx_t in get_fws_and_tasks (original_wf , task_name_constraint = "RunVaspCustodian" ):
569
569
original_wf .fws [idx_fw ].tasks [idx_t ]["gamma_vasp_cmd" ] = gamma_vasp_cmd
570
570
return original_wf
571
+
572
+ def modify_gzip_vasp (original_wf , gzip_output ):
573
+ """
574
+ For all RunVaspCustodian tasks, modify gzip_output boolean
575
+ Args:
576
+ original_wf (Workflow)
577
+ gzip_output (bool): Value to set gzip_output to for RunVaspCustodian
578
+ Returns:
579
+ Workflow
580
+ """
581
+ for idx_fw , idx_t in get_fws_and_tasks (original_wf , task_name_constraint = "RunVaspCustodian" ):
582
+ original_wf .fws [idx_fw ].tasks [idx_t ]["gzip_output" ] = gzip_output
583
+ return original_wf
You can’t perform that action at this time.
0 commit comments