Skip to content

Commit 0530efd

Browse files
committed
Print the currently used Project.toml in the log, for debugging.
1 parent 269a878 commit 0530efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_rms.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ env | grep JULIA
6262
RMS_BRANCH=${RMS_BRANCH:-for_rmg}
6363
echo "Installing ReactionMechanismSimulator from branch: $RMS_BRANCH"
6464

65-
julia -e "using Pkg; Pkg.add(Pkg.PackageSpec(name=\"ReactionMechanismSimulator\", url=\"https://github.com/ReactionMechanismGenerator/ReactionMechanismSimulator.jl.git\", rev=\"$RMS_BRANCH\")); using ReactionMechanismSimulator; Pkg.instantiate()" || echo "RMS install error - continuing anyway ¯\_(ツ)_/¯"
65+
julia -e "using Pkg; Pkg.add(Pkg.PackageSpec(name=\"ReactionMechanismSimulator\", url=\"https://github.com/ReactionMechanismGenerator/ReactionMechanismSimulator.jl.git\", rev=\"$RMS_BRANCH\")); using ReactionMechanismSimulator; println(read(joinpath(dirname(pathof(ReactionMechanismSimulator)), \"..\", \"Project.toml\"), String)); Pkg.instantiate()" || echo "RMS install error - continuing anyway."
6666

6767
echo "Checking if ReactionMechanismSimulator is installed in the current conda environment for Python usage..."
6868
python -c "from juliacall import Main; import sys; sys.exit(0 if Main.seval('Base.identify_package(\"ReactionMechanismSimulator\") !== nothing') and print('ReactionMechanismSimulator is installed in $current_env') is None else 1)"

0 commit comments

Comments
 (0)