Skip to content

Commit 3130fd7

Browse files
committed
yesqa **/*.py
1 parent dd04cf4 commit 3130fd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

atomate/vasp/drones.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def generate_doc(self, dir_name, vasprun_files, outcar_files):
420420
d["output"][k] = d_calc_final["output"][k]
421421

422422
# store optical data, overwrites the LOPTICS data
423-
if d["input"]["incar"].get("ALGO") == 'CHI':
423+
if d["input"]["incar"].get("ALGO") == "CHI":
424424
for k in ["optical_absorption_coeff", "dielectric"]:
425425
d["output"][k] = d_calc_final["output"][k]
426426

@@ -486,12 +486,12 @@ def process_vasprun(self, dir_name, taskname, filename):
486486
d["output"][k] = d["output"].pop(v)
487487

488488
# Process bandstructure and DOS
489-
if self.bandstructure_mode is not False: # noqa
489+
if self.bandstructure_mode is not False:
490490
bs = self.process_bandstructure(vrun)
491491
if bs:
492492
d["bandstructure"] = bs
493493

494-
if self.parse_dos is not False: # noqa
494+
if self.parse_dos is not False:
495495
dos = self.process_dos(vrun)
496496
if dos:
497497
d["dos"] = dos
@@ -588,7 +588,7 @@ def process_vasprun(self, dir_name, taskname, filename):
588588
d["output"]["optical_absorption_coeff"] = vrun.optical_absorption_coeff
589589

590590
# parse output from response function
591-
if vrun.incar.get("ALGO") == 'CHI':
591+
if vrun.incar.get("ALGO") == "CHI":
592592
dielectric = vrun.dielectric
593593
d["output"]["dielectric"] = dict(
594594
energy=dielectric[0], real=dielectric[1], imag=dielectric[2]

0 commit comments

Comments
 (0)