Skip to content

Add function to distinguish custom-added and built-in atlases #158

@tsalo

Description

@tsalo

@effigies proposed using the following in sMRIPrep where it would be helpful to distinguish between custom and built-in atlases:

import zipfile
import templateflow

templates = [
    tpl.name.removeprefix('tpl-')
    for tpl in zipfile.Path(templateflow.conf.load_data('templateflow-skel.zip')).iterdir()
]

It would be great to have a function that does this (e.g., templateflow.api.get_builtin_templates()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions