Skip to content

BiophysicalApi.get_neuronal_models doesn't find perisomatic models #295

@tmchartrand

Description

@tmchartrand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions