Open
Description
Describe the bug
Downloading files with electro-physiological model from the cell-types DB, I repeatedly
run into the error
[...]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/Users/hater/Library/Python/3.7/lib/python/site-packages/allensdk/model/biophysical/runner.py", line 116, in run_sync
sweeps_by_type = run_params['sweeps_by_type']
KeyError: 'sweeps_by_type'
"""
I followed the steps mentioned here
To Reproduce
Install AllenSDK via pip
pip3 install --user allensdk
Download cell models
from allensdk.api.queries.biophysical_api import BiophysicalApi
ids = [497232312, 491766131]
bp = BiophysicalApi()
bp.cache_stimulus = True
for id in ids:
bp.cache_data(id, working_directory=f'model-{id}')
Run models
cd model-491766131
python3 -m allensdk.model.biophysical.runner manifest.json
Expected behavior
Model runs without error.
Actual Behavior
The exception above gets thrown.
Environment (please complete the following information):
- OS & version: MacOs 10.15.4 (Catalina)
- Python version 3.7
- AllenSDK version 1.7.1
Additional context
NEURON installed via MacOs installer, modfiles compiled successfully