Skip to content

Commit ed2fb1e

Browse files
committed
update
1 parent 3f105ab commit ed2fb1e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/rmstest.jl

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ const Chem = PythonCall.pynew()
66
const molecule = PythonCall.pynew()
77
const fragment = PythonCall.pynew()
88
const pydot = PythonCall.pynew()
9-
copy!(Chem,pyimport_conda("rdkit.Chem","rdkit","rmg"))
9+
pycopy!(Chem, pyimport("rdkit.Chem"))
1010
try
11-
copy!(molecule, pyimport("rmgpy.molecule"))
12-
copy!(fragment, pyimport("rmgpy.molecule.fragment"))
11+
pycopy!(molecule, pyimport("rmgpy.molecule"))
12+
pycopy!(fragment, pyimport("rmgpy.molecule.fragment"))
1313
catch e
14-
copy!(molecule, pyimport_conda("molecule.molecule", "rmgmolecule", "hwpang"))
15-
copy!(fragment, pyimport_conda("molecule.molecule.fragment", "rmgmolecule", "hwpang"))
14+
pycopy!(molecule, pyimport("molecule.molecule"))
15+
pycopy!(fragment, pyimport("molecule.molecule.fragment"))
1616
end
17-
copy!(pydot,pyimport_conda("pydot","pydot","rmg"))
18-
17+
pycopy!(pydot, pyimport("pydot"))
1918

2019
include("Constants.jl")
2120
include("Tools.jl")

0 commit comments

Comments
 (0)