Skip to content

Commit ba3823b

Browse files
committed
TEMPORARY: always draw the pdep networks.
This is presumably a runtime penalty, or at least a hard disk space penalty, and probably shouldn't be a default. I guess we could make it optional. Or else drop this commit. But it's nice for debugging.
1 parent f2ff6bd commit ba3823b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rmgpy/rmg/pdep.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ def update(self, reaction_model, pdep_settings, requires_rms=False):
868868
if output_directory:
869869
job.save_input_file(
870870
os.path.join(output_directory, 'pdep', 'network{0:d}_{1:d}.py'.format(self.index, len(self.isomers))))
871+
job.draw(os.path.join(output_directory, 'pdep'), filename_stem=f'network{self.index:d}_{len(self.isomers):d}', file_format='pdf')
871872

872873
# Calculate the rate coefficients
873874
self.initialize(Tmin, Tmax, Pmin, Pmax, maximum_grain_size, minimum_grain_count, active_j_rotor, active_k_rotor,

0 commit comments

Comments
 (0)