@@ -420,7 +420,7 @@ def generate_doc(self, dir_name, vasprun_files, outcar_files):
420
420
d ["output" ][k ] = d_calc_final ["output" ][k ]
421
421
422
422
# store optical data, overwrites the LOPTICS data
423
- if d ["input" ]["incar" ].get ("ALGO" ) == ' CHI' :
423
+ if d ["input" ]["incar" ].get ("ALGO" ) == " CHI" :
424
424
for k in ["optical_absorption_coeff" , "dielectric" ]:
425
425
d ["output" ][k ] = d_calc_final ["output" ][k ]
426
426
@@ -486,12 +486,12 @@ def process_vasprun(self, dir_name, taskname, filename):
486
486
d ["output" ][k ] = d ["output" ].pop (v )
487
487
488
488
# Process bandstructure and DOS
489
- if self .bandstructure_mode is not False : # noqa
489
+ if self .bandstructure_mode is not False :
490
490
bs = self .process_bandstructure (vrun )
491
491
if bs :
492
492
d ["bandstructure" ] = bs
493
493
494
- if self .parse_dos is not False : # noqa
494
+ if self .parse_dos is not False :
495
495
dos = self .process_dos (vrun )
496
496
if dos :
497
497
d ["dos" ] = dos
@@ -588,7 +588,7 @@ def process_vasprun(self, dir_name, taskname, filename):
588
588
d ["output" ]["optical_absorption_coeff" ] = vrun .optical_absorption_coeff
589
589
590
590
# parse output from response function
591
- if vrun .incar .get ("ALGO" ) == ' CHI' :
591
+ if vrun .incar .get ("ALGO" ) == " CHI" :
592
592
dielectric = vrun .dielectric
593
593
d ["output" ]["dielectric" ] = dict (
594
594
energy = dielectric [0 ], real = dielectric [1 ], imag = dielectric [2 ]
0 commit comments