From 668b4a572bf2138206ebc2829dc2f693545939a4 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Sat, 29 Jun 2024 19:50:03 -0700 Subject: [PATCH] avoid const declaration --- src/ReactionMechanismSimulator.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReactionMechanismSimulator.jl b/src/ReactionMechanismSimulator.jl index 3715fc7f..bdcb841e 100644 --- a/src/ReactionMechanismSimulator.jl +++ b/src/ReactionMechanismSimulator.jl @@ -31,8 +31,8 @@ function __init__() CondaPkg.add("rdkit", channel="conda-forge") CondaPkg.add("pydot", channel="conda-forge") - const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg")) - Pkg.build("PythonCall") + Pkgc = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg")) + Pkgc.build("PythonCall") end PythonCall.pycopy!(Chem, pyimport("rdkit.Chem")) PythonCall.pycopy!(Desc, pyimport("rdkit.Chem.Descriptors"))