Skip to content

Allow dictionary input to BIDSLayout(derivatives=<>) #1155

Description

@tsalo

When searching across multiple derivatives datasets, I think it would be useful to be able to include a dataset "name" in layout queries. For example:

from bids.layout import BIDSLayout

BIDSLayout(raw_bids_dir, derivatives={'smriprep': smriprep_dir, 'aslprep': aslprep_dir})
layout.get(dataset='smriprep', suffix='T1w')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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