Skip to content

Commit 6727b61

Browse files
committed
Import Species from species (to avoid Julia)
I think we just need the Species class which we can import directly from rmgpy.species instead of from rmgpy.rmg.model which in turn imports it from rmgpy.species (but which also imports a bunch of other stuff while loading). This is part of a general campaign to reduce un-needed import dependencies and perhaps make it so some partial imports can avoid loading all the RMS julia stuff.
1 parent 2571f14 commit 6727b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmgpy/rmg/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from scipy.optimize import brute
5353

5454
import rmgpy.util as util
55-
from rmgpy.rmg.model import Species
55+
from rmgpy.species import Species
5656
from rmgpy.rmg.pdep import PDepNetwork
5757
from rmgpy import settings
5858
from rmgpy.chemkin import ChemkinWriter

0 commit comments

Comments
 (0)