Skip to content

Commit

Permalink
fix but
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Jun 30, 2024
1 parent 7d30db8 commit c3299f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ReactionMechanismSimulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ packages = keys(CondaPkg.current_packages())
if !("rmg" in packages) && !("rmgmolecule" in packages)
@info "missing rmg and rmgmolecule installing rmgmolecule..."
if "python" in packages
py_version = VersionNumber(packages["python"][:version])
py_version = VersionNumber(CondaPkg.current_packages()["python"][:version])
else
py_version = nothing
end
Expand Down
2 changes: 1 addition & 1 deletion src/rmstest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages = keys(CondaPkg.current_packages())
if !("rmg" in packages) && !("rmgmolecule" in packages)
@info "missing rmg and rmgmolecule installing rmgmolecule..."
if "python" in packages
py_version = VersionNumber(packages["python"][:version])
py_version = VersionNumber(CondaPkg.current_packages()["python"][:version])
else
py_version = nothing
end
Expand Down

0 comments on commit c3299f6

Please sign in to comment.