Skip to content

Commit a40bce5

Browse files
authored
Merge pull request #62 from ReactionMechanismGenerator/fixpyversion
Ensure the Python Version is 3.7
2 parents 295df7e + af6e69f commit a40bce5

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

Manifest.toml

Lines changed: 10 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ version = "0.3.0"
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
88
Calculus = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9"
99
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
10+
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
1011
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
1112
DiffEqSensitivity = "41bf760c-e81c-5289-8e54-58b1f1f8abe2"
1213
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"

src/ReactionMechanismSimulator.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module ReactionMechanismSimulator
22
using PyCall
3+
if PyCall.pyversion.major != 3 || PyCall.pyversion.minor != 7
4+
using Conda
5+
Conda.add("python==3.7")
6+
end
37
push!(PyVector(pyimport("sys")["path"]), "")
48
const Chem = PyNULL()
59
const molecule = PyNULL()

0 commit comments

Comments
 (0)