Skip to content

Commit 33d19c6

Browse files
committed
update
1 parent 723f42b commit 33d19c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ReactionMechanismSimulator.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ module ReactionMechanismSimulator
22
using PythonCall
33
using CondaPkg
44
packages = keys(CondaPkg.current_packages())
5+
if !("rmg" in packages)
6+
ENV["JULIA_CONDAPKG_ENV"] = abspath("rms_env")
7+
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
8+
Pkg.build("PythonCall")
9+
end
510
const Chem = PythonCall.pynew()
611
const Desc = PythonCall.pynew()
712
const molecule = PythonCall.pynew()

0 commit comments

Comments
 (0)