@@ -569,7 +569,7 @@ def schedule_jobs(self):
569
569
if self .species_dict [label ].is_ts :
570
570
self .determine_most_likely_ts_conformer (label )
571
571
else :
572
- self .determine_most_stable_conformer (label ) # also checks isomorphism
572
+ self .determine_most_stable_conformer (label , sp_flag = True if self . job_types [ 'conf_sp' ] else False ) # also checks isomorphism
573
573
if self .species_dict [label ].initial_xyz is not None :
574
574
# if initial_xyz is None, then we're probably troubleshooting conformers, don't opt
575
575
if not self .composite_method :
@@ -2002,14 +2002,15 @@ def parse_conformer(self,
2002
2002
return True
2003
2003
return False
2004
2004
2005
- def determine_most_stable_conformer (self , label ):
2005
+ def determine_most_stable_conformer (self , label , sp_flag = False ):
2006
2006
"""
2007
2007
Determine the most stable conformer for a species (which is not a TS).
2008
2008
Also run an isomorphism check.
2009
2009
Save the resulting xyz as `initial_xyz`.
2010
2010
2011
2011
Args:
2012
2012
label (str): The species label.
2013
+ sp_flag (bool): Whether this is a single point calculation job.
2013
2014
"""
2014
2015
if self .species_dict [label ].is_ts :
2015
2016
raise SchedulerError ('The determine_most_stable_conformer() method does not deal with transition '
@@ -2031,12 +2032,13 @@ def determine_most_stable_conformer(self, label):
2031
2032
plotter .save_conformers_file (project_directory = self .project_directory ,
2032
2033
label = label ,
2033
2034
xyzs = self .species_dict [label ].conformers ,
2034
- level_of_theory = self .conformer_opt_level ,
2035
+ level_of_theory = self .conformer_opt_level if not sp_flag else self . conformer_sp_level ,
2035
2036
multiplicity = self .species_dict [label ].multiplicity ,
2036
2037
charge = self .species_dict [label ].charge ,
2037
2038
is_ts = False ,
2038
2039
energies = self .species_dict [label ].conformer_energies ,
2039
2040
before_optimization = False ,
2041
+ sp_flag = sp_flag ,
2040
2042
) # after optimization
2041
2043
# Run isomorphism checks if a 2D representation is available
2042
2044
if self .species_dict [label ].mol is not None :
0 commit comments