aces / Loris-MRI

The set of scripts that preprocess and insert MRI data into the database.
10 stars 51 forks source link

Factorize get subject session #1190

Open maximemulder opened 2 months ago

maximemulder commented 2 months ago

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):

Depends on:

Is depended on by: