This PR (still a draft) extracts the "get subject session" operation out of BasePipeline, with the goal of making it easily reusable by all scripts, including those that do not use BasePipeline (new DICOM archive and eventually BIDS import). It also modernizes the database access by using the new SQLAlchemy abstractions.
This PR should eventually be split into several PRs to make it easier to review (sorted by dependency):
New SQLAlchemy abstractions
Move remaining subject validation logic into validate_subject_ids
This PR (still a draft) extracts the "get subject session" operation out of
BasePipeline
, with the goal of making it easily reusable by all scripts, including those that do not useBasePipeline
(new DICOM archive and eventually BIDS import). It also modernizes the database access by using the new SQLAlchemy abstractions.This PR should eventually be split into several PRs to make it easier to review (sorted by dependency):
validate_subject_ids
get_subject_session
in its own fileDepends on:
1191
1150
Is depended on by:
1117 (to implement #1044)