Skip to content

Commit

Permalink
Merge pull request #403 from ReactionMechanismGenerator/sp_level_comp…
Browse files Browse the repository at this point in the history
…_fix

BugFix: When running composite, sp_level is None
  • Loading branch information
alongd committed Jun 16, 2020
2 parents 92906b1 + 89ca7f2 commit 09e503b
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 @@ -2254,7 +2254,7 @@ def post_sp_actions(self, label, sp_path):
"""
self.output[label]['job_types']['sp'] = True
self.output[label]['paths']['sp'] = sp_path
if 'ccsd' in self.sp_level.method:
if self.sp_level is not None and 'ccsd' in self.sp_level.method:
self.species_dict[label].t1 = parser.parse_t1(self.output[label]['paths']['sp'])
zpe_scale_factor = 0.99 if (self.composite_method is not None and 'cbs-qb3' in self.composite_method.method) \
else 1.0
Expand Down

0 comments on commit 09e503b

Please sign in to comment.