You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install_rms.sh
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -149,8 +149,27 @@ fi
149
149
julia_status=$?
150
150
if [ $julia_status-ne 0 ];then
151
151
echo"RMS installation failed!"
152
-
exit$status
152
+
exit$julia_status
153
153
fi
154
154
155
155
echo"Checking if ReactionMechanismSimulator is installed in the current conda environment for Python usage..."
156
-
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)"
156
+
157
+
python <<EOF
158
+
import sys
159
+
try:
160
+
from juliacall import Main
161
+
Main.seval('println("Active Julia environemnt: ", Base.active_project())')
0 commit comments