brain_deer.infrastructure.bids.loader

Load BIDS-indexed files into main_window.loaded_files.

Functions

load_bids_items(→ list[str])

Load BIDS items through the same pipeline as the Files tab.

Module Contents

brain_deer.infrastructure.bids.loader.load_bids_items(main_window, dataset: brain_deer.infrastructure.bids.layout.BIDSDataset, items: list[brain_deer.infrastructure.bids.entities.BIDSItem], mapper: brain_deer.infrastructure.bids.mapper.BIDSMapper | None = None, *, rebuild_layers: bool = True) → list[str]

Load BIDS items through the same pipeline as the Files tab.

Returns the loaded_files keys that were created.