File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,17 +28,22 @@ def is_loaded_mechanisms():
2828
2929def loadModMechFiles (compileMod , modFolder ):
3030 # Create Symbolic link
31- if compileMod :
32- modPath = os .path .join (str (modFolder ), "x86_64" )
33-
34- if os .path .exists (modPath ):
35- shutil .rmtree (modPath )
3631
37- os .chdir (modFolder )
38- subprocess .call (["nrnivmodl" ])
39- os .chdir ('..' )
40-
41- try :
42- neuron .load_mechanisms (str (modFolder ))
43- except :
44- raise
32+ if compileMod :
33+ try :
34+ owd = os .getcwd ()
35+ modPath = os .path .join (str (modFolder ), "x86_64" )
36+
37+ if os .path .exists (modPath ):
38+ shutil .rmtree (modPath )
39+
40+ os .chdir (modFolder )
41+ subprocess .call (["nrnivmodl" ])
42+ os .chdir ('..' )
43+
44+ try :
45+ neuron .load_mechanisms (str (modFolder ))
46+ except :
47+ raise
48+ finally :
49+ os .chdir (owd )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { LoadingSpinner } from '@metacell/geppetto-meta-client/components';
88import { NetPyNE } from './components' ;
99import theme from './theme' ;
1010import store from './redux/store' ;
11- import '@metacell/geppetto-meta-ui/flex-layout/style/dark.scss ' ;
11+ import '@metacell/geppetto-meta-ui/flex-layout/style/dark.css ' ;
1212
1313global . GEPPETTO_CONFIGURATION = require ( './GeppettoConfiguration.json' ) ;
1414const { initGeppetto } = require ( '@metacell/geppetto-meta-client/GEPPETTO' ) ;
You can’t perform that action at this time.
0 commit comments