File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727from matplotlib .figure import Figure
2828import neuron
2929from shutil import copyfile
30- from jupyter_geppetto import jupyter_geppetto , synchronization
30+ from jupyter_geppetto import jupyter_geppetto , synchronization , utils
3131import imp
3232from contextlib import redirect_stdout , redirect_stderr
33- from jupyter_geppetto import utils
3433
3534
3635class NetPyNEGeppetto ():
@@ -61,8 +60,8 @@ def instantiateNetPyNEModelInGeppetto(self, args):
6160 self .geppetto_model = self .model_interpreter .getGeppettoModel (netpyne_model )
6261
6362 return json .loads (GeppettoModelSerializer ().serialize (self .geppetto_model ))
64- except :
65- return utils .getJSONError ("Error while instantiating the NetPyNE model" ,traceback . format_exc () )
63+ except Exception as e :
64+ return utils .getJSONError ("Error while instantiating the NetPyNE model" , e )
6665
6766 def simulateNetPyNEModelInGeppetto (self , args ):
6867 try :
You can’t perform that action at this time.
0 commit comments