nipoppy.tabular.bagel.BagelModel

class nipoppy.tabular.bagel.BagelModel(/, **data)

A file generated by the trackers.

Contains process statuses for image processing pipelines.

Note: This class is called “model” to be consistent with Pydantic nomenclature, but it can be thought of as a schema for each row in the bagel file.

Parameters:

data (Any)

classmethod check_status(value)

Check that a status field has a valid value.

Parameters:

value (str)

validate_after()

Check fields.

bids_participant: str | None
participant_id: str
pipeline_complete: str
pipeline_name: str
pipeline_starttime: str
pipeline_version: str
session: str | None
session_id: str