Skip to content

Commit c3299f6

Browse files
committed
fix but
1 parent 7d30db8 commit c3299f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ReactionMechanismSimulator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ packages = keys(CondaPkg.current_packages())
66
if !("rmg" in packages) && !("rmgmolecule" in packages)
77
@info "missing rmg and rmgmolecule installing rmgmolecule..."
88
if "python" in packages
9-
py_version = VersionNumber(packages["python"][:version])
9+
py_version = VersionNumber(CondaPkg.current_packages()["python"][:version])
1010
else
1111
py_version = nothing
1212
end

src/rmstest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages = keys(CondaPkg.current_packages())
77
if !("rmg" in packages) && !("rmgmolecule" in packages)
88
@info "missing rmg and rmgmolecule installing rmgmolecule..."
99
if "python" in packages
10-
py_version = VersionNumber(packages["python"][:version])
10+
py_version = VersionNumber(CondaPkg.current_packages()["python"][:version])
1111
else
1212
py_version = nothing
1313
end

0 commit comments

Comments
 (0)