Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Jun 30, 2024
1 parent c44bccc commit 7d30db8
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 @@ -10,7 +10,7 @@ if !("rmg" in packages) && !("rmgmolecule" in packages)
else
py_version = nothing
end
if py_version === nothing || !(v"3.7" <= py_version) && py_version <= v"3.9")
if py_version === nothing || !(v"3.7" <= py_version && py_version <= v"3.9")
@info "python version was not in 3.7-3.9 changing python version"
CondaPkg.add("python"; version="3.9")
end
Expand Down
2 changes: 1 addition & 1 deletion src/rmstest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if !("rmg" in packages) && !("rmgmolecule" in packages)
else
py_version = nothing
end
if py_version === nothing || !(v"3.7" <= py_version) && py_version <= v"3.9")
if py_version === nothing || !(v"3.7" <= py_version && py_version <= v"3.9")
@info "python version was not in 3.7-3.9 changing python version"
CondaPkg.add("python"; version="3.9")
end
Expand Down

0 comments on commit 7d30db8

Please sign in to comment.