@@ -76,30 +76,28 @@ class RunVaspCustodian(FiretaskBase):
7676 vasp_cmd (str): the name of the full executable for running VASP. Supports env_chk.
7777
7878 Optional params:
79- jobs (list[VaspJob]): VaspJobs to run.
80- job_type (str): choose from "normal" (default), "double_relaxation_run" (two consecutive
79+ job_type: (str) - choose from "normal" (default), "double_relaxation_run" (two consecutive
8180 jobs), "full_opt_run" (multiple optimizations), and "neb"
8281 handler_group: (str | list[ErrorHandler]) - group of handlers to use. See handler_groups dict in the code or
8382 the groups and complete list of handlers in each group. Alternatively, you can
8483 specify a list of ErrorHandler objects.
8584 max_force_threshold: (float) - if >0, adds MaxForceErrorHandler. Not recommended for
8685 nscf runs.
87- scratch_dir (str): if specified, uses this directory as the root scratch dir.
86+ scratch_dir: (str) - if specified, uses this directory as the root scratch dir.
8887 Supports env_chk.
8988 gzip_output: (bool) - gzip output (default=T)
9089 max_errors: (int) - maximum # of errors to fix before giving up (default=5)
9190 ediffg: (float) shortcut for setting EDIFFG in special custodian jobs
9291 auto_npar: (bool) - use auto_npar (default=F). Recommended set to T
9392 for single-node jobs only. Supports env_chk.
94- gamma_vasp_cmd (str): cmd for Gamma-optimized VASP compilation.
93+ gamma_vasp_cmd: (str) - cmd for Gamma-optimized VASP compilation.
9594 Supports env_chk.
9695 wall_time (int): Total wall time in seconds. Activates WalltimeHandler if set.
9796 half_kpts_first_relax (bool): Use half the k-points for the first relaxation
9897 """
9998
10099 required_params = ["vasp_cmd" ]
101100 optional_params = [
102- "jobs" ,
103101 "job_type" ,
104102 "handler_group" ,
105103 "max_force_threshold" ,
@@ -166,8 +164,7 @@ def run_task(self, fw_spec):
166164 vasp_cmd = shlex .split (vasp_cmd )
167165
168166 # initialize variables
169- jobs = self .get ("jobs" , [])
170- job_type = self .get ("job_type" , "normal" if jobs == [] else None )
167+ job_type = self .get ("job_type" , "normal" )
171168 scratch_dir = env_chk (self .get ("scratch_dir" ), fw_spec )
172169 gzip_output = self .get ("gzip_output" , True )
173170 max_errors = self .get ("max_errors" , CUSTODIAN_MAX_ERRORS )
0 commit comments