Skip to content

Commit c468cd3

Browse files
committed
Relocate diffusion_limiter import in simulate.py to avoid circular import
1 parent d76c1c3 commit c468cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rmgpy/tools/simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from time import time
3333

3434
import rmgpy.util as util
35-
from rmgpy.kinetics.diffusionLimited import diffusion_limiter
3635
from rmgpy.rmg.listener import SimulationProfileWriter, SimulationProfilePlotter
3736
from rmgpy.rmg.main import initialize_log
3837
from rmgpy.rmg.settings import ModelSettings
@@ -48,6 +47,7 @@ def simulate(rmg, diffusion_limited=True):
4847
diffusion_limited=True implies that if it is a liquid reactor diffusion limitations will be enforced
4948
otherwise they will not be in a liquid reactor
5049
"""
50+
from rmgpy.kinetics.diffusionLimited import diffusion_limiter
5151
util.make_output_subdirectory(rmg.output_directory, 'solver')
5252

5353
for index, reaction_system in enumerate(rmg.reaction_systems):

0 commit comments

Comments
 (0)