@wvangeit , thanks for the response. You're right-- it doesn't stop the execution itself, but I get the following error message when I run the next line 'responses = twostep_protocol.run(cell_model=simple_cell, param_values=default_params, sim=nrn)':
ProcessExpired Traceback (most recent call last)
<ipython-input-16-b41867be1955> in <module>
1 default_params = {'gnabar_hh': 0.1, 'gkbar_hh': 0.03}
----> 2 responses = twostep_protocol.run(cell_model=simple_cell, param_values=default_params, sim=nrn)
~/opt/anaconda3/lib/python3.7/site-packages/bluepyopt/ephys/protocols.py in run(self, cell_model, param_values, sim, isolate, timeout)
81 sim=sim,
82 isolate=isolate,
---> 83 timeout=timeout)
84 except TypeError as e:
85 if "unexpected keyword" in str(e):
~/opt/anaconda3/lib/python3.7/site-packages/bluepyopt/ephys/protocols.py in run(self, cell_model, param_values, sim, isolate, timeout)
233 timeout=timeout)
234 try:
--> 235 responses = tasks.result()
236 except TimeoutError:
237 logger.debug('SweepProtocol: task took longer than '
~/opt/anaconda3/lib/python3.7/concurrent/futures/_base.py in result(self, timeout)
433 raise CancelledError()
434 elif self._state == FINISHED:
--> 435 return self.__get_result()
436 else:
437 raise TimeoutError()
~/opt/anaconda3/lib/python3.7/concurrent/futures/_base.py in get_result(self)
382 def get_result(self):
383 if self._exception:
--> 384 raise self._exception
385 else:
386 return self._result
ProcessExpired: Abnormal termination
Hi @wvangeit and hi everyone, I have this strange error :
File "/home/miseno/.local/lib/python3.6/site-packages/bluepyopt/ephys/morphologies.py", line 128, in instantiate
imorphology.input(str(self.morphology_path))
RuntimeError: hoc error
when I run a code that works perfectly on another machine. Can you please point me to the right direction to solve the problem?
Thank you.
Ilaria