We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc7234 commit 9d9a526Copy full SHA for 9d9a526
rmgpy/rmg/reactors.py
@@ -35,10 +35,10 @@
35
import sys
36
import logging
37
import itertools
38
+from os.path import dirname, abspath, join, exists
39
40
if __debug__:
41
try:
- from os.path import dirname, abspath, join, exists
42
path_rms = dirname(dirname(dirname(abspath(__file__))))
43
from julia.api import Julia
44
jl = Julia(sysimage=join(path_rms,"rms.so")) if exists(join(path_rms,"rms.so")) else Julia(compiled_modules=False)
@@ -49,6 +49,9 @@
49
pass
50
else:
51
52
+ path_rms = dirname(dirname(dirname(abspath(__file__))))
53
+ if exists(join(path_rms, "rms.so")):
54
+ jl = Julia(sysimage=join(path_rms,"rms.so"))
55
from pyrms import rms
56
from diffeqpy import de
57
from julia import Main
0 commit comments