AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
340 stars 150 forks source link

biophysical model #2522

Open bahpah opened 2 years ago

bahpah commented 2 years ago

Hi, I am trying to use your biophysical models so that I can run the simulation, but after downloading the model and NWB file and compiling mod files, running command "python -m allensdk.model.biophysical.runner manifest.json' gives error below: OSError: cell.hoc does not exist! We also tried some older versions of python 2.7 and still encountered the same error. Could you please guide us how to solve this problem? Thank you, Bahram

analkumar2 commented 2 years ago

I am facing the same problem. I simply commented out line 99 of 'allensdk/model/biophysical/runner.py' - self.update_default_cell_hoc(description) This throws in a NEURON error but the model runs and gives the output as expected.

outofculture commented 4 months ago

The cell.hoc file is in the repository, it's just not being packaged. The fix then is to explicitly include it in the list of files that get packaged.