You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the model type/template id for perisomatic models is off (missing a 0), where specified in
BiophysicalApi.BIOPHYSICAL_MODEL_TYPE_IDS. I tested out a fix with the proper id (329230710 vs 32923071), will submit a PR.
Tested with the following code:
from allensdk.api.queries.biophysical_api import BiophysicalApi
bp = BiophysicalApi()
specimen_ids = [490387590, 386049446]
bp.get_neuronal_models(specimen_ids)
Without the fix (current master branch), this returns only a single all-active model for specimen 386049446. With the fix, it returns three records, with perisomatic models for both specimens.