Skip to content

Commit

Permalink
Merge pull request #411 from ReactionMechanismGenerator/fix
Browse files Browse the repository at this point in the history
BugFix: Check sp_level is not None in post_sp_actions
  • Loading branch information
alongd committed Jul 22, 2020
2 parents 1d209c1 + 1f733bf commit 9e1338c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ def post_sp_actions(self,
logger.info(f'Species {label} has a T1 diagnostic parameter of {self.species_dict[label].t1}{txt}')
self.output[label]['info'] += f'T1 = {self.species_dict[label].t1}; '

if self.sp_level.solvation_scheme_level is not None:
if self.sp_level is not None and self.sp_level.solvation_scheme_level is not None:
# a complex solvation correction behavior was requested for the single-point energy value
if not self.output[label]['job_types']['sp']:
# this is the first "original" sp job, spawn two more at the sp_level.solvation_scheme_level level,
Expand Down

0 comments on commit 9e1338c

Please sign in to comment.