aces / Loris-MRI

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

Remove unused attribute in NIFTI script #1201

Closed maximemulder closed 1 month ago

maximemulder commented 1 month ago

The bids_mapping_dict attribute in nifti_insertion_pipeline.py is unused, and get_bids_to_minc_terms_mapping does not mutate its parameters. Hence the attribute and function call can be removed.

The script works by calling get_bids_to_minc_terms_mapping later in imaging.py.

maximemulder commented 1 month ago

Sucessfully tested with run_dicom_archive_loader