Skip to content

Some examples of code that could be replaced by nidmresults functions #16

Description

@chrisgorgo

After discussion at NIDM sprint we decided to implement easy to use functions for common NIDM Results queries. This should lower the access barrier for new developer. Those functions can live in the nidmresults package. They could immediately replace some sparql queries in NeuroVault and nidmviewer (maintained by @vsoch).

get_statmaps() https://github.com/NeuroVault/NeuroVault/blob/0ba7f42a11d703ee608317fe7f0c24fd62d48fc5/neurovault/apps/statmaps/nidm_results.py#L64
as well as https://github.com/vsoch/nidmviewer/blob/882f5201354135ff4dc6ec8739621a94341d0fef/nidmviewer/sparql.py#L43
(this could be split into more functions if that makes sense)

get_coordinates()
https://github.com/vsoch/nidmviewer/blob/882f5201354135ff4dc6ec8739621a94341d0fef/nidmviewer/sparql.py#L28

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions