Skip to content

Commit b091d9e

Browse files
committed
update
1 parent a85f43c commit b091d9e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

CondaPkg.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

deps/build.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using CondaPkg
22
using PythonCall
33
packages = keys(CondaPkg.current_packages())
44
if !("rmg" in packages) && !("rmgmolecule" in packages)
5+
ENV["JULIA_CONDAPKG_ENV"] = abspath("../rms_env")
56
CondaPkg.add("rmgmolecule"; version=">=0.3.0", channel="mjohnson541")
67
end
78
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")

src/ReactionMechanismSimulator.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
module ReactionMechanismSimulator
2-
import Logging
3-
Logging.disable_logging(Logging.Warn)
42
using PythonCall
5-
pyimport("sys").path.append("")
3+
using CondaPkg
4+
packages = keys(CondaPkg.current_packages())
5+
if !("rmg" in packages)
6+
ENV["JULIA_CONDAPKG_ENV"] = abspath("rms_env")
7+
end
68
const Chem = PythonCall.pynew()
79
const Desc = PythonCall.pynew()
810
const molecule = PythonCall.pynew()

0 commit comments

Comments
 (0)