Skip to content

Commit cc29424

Browse files
committed
#643 fix: Fix wrong call to JSON errors
1 parent 49ee361 commit cc29424

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ def simulateNetPyNEModelInGeppetto(self, args):
315315
except Exception as e :
316316
message = ("Error while simulating the NetPyNE model: %s. SimulationId %f" % (e, sim_id))
317317
logging.exception(message)
318-
return utils.getJSONError(message, sys.exc_info(), { "sim_id": sim_id})
318+
# return utils.getJSONError(message, sys.exc_info(), { "sim_id": sim_id})
319+
return utils.getJSONError(message, sys.exc_info())
319320

320321
def _prepare_simulation_files(self, experiment: model.Experiment = None, use_prev_inst: bool = False) -> str:
321322
"""Prepares template files and netpyne model files for a single simulation """

0 commit comments

Comments
 (0)