-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bidsMoving ExploreASL to BIDS compatibilityMoving ExploreASL to BIDS compatibility
Milestone
Description
Description
We need to restructure the functions for NII2BIDS import of JSON to make it easy to be called externally for the purpose of correcting JSONs for OASIS.
Requirements
-
For OASIS: Go through all directories and check all JSON files and modify them in the following way:
- For structural files. Correct JSONs using the following: 👍
- jsonAnat = xASL_bids_JsonBIDSifyAnat(jsonAnat); Note this additional function now with different name
- jsonAnat = xASL_bids_VendorFieldCheck(jsonAnat);
- jsonAnat = xASL_bids_JsonCheck(jsonAnat,'');
- For ASL files: 👍
- Complete insides of xASL_imp_NII2BIDS_SubjectSessionRun have to be used, copy pasted to the OASIS script, and called for each session and filenames changed in the code - but only in the code, not in the subfunctions.
- For structural files. Correct JSONs using the following: 👍
-
To prepare for this
- Fix issue ExploreASL version in Legacy data #603 to have ExploreASL version used for import 👍
- Put the RepetitionTime extra field check inside a new function xASL_bids_JsonBIDSify and add an 'anat' option there 👍
- Put all the JSON checking and manipulation to a subfunction for ASL and M0 👍
- Make sure that the IntendedFor and other parameters are correctly assigned 👍
How to test
- Run the Flavors import+check 👍
- Use this to correct OASIS data - continue in Convert OASIS & DDI to BIDS #619
Release notes
Restructured JSON handling during NiFTI to BIDS import
Metadata
Metadata
Assignees
Labels
bidsMoving ExploreASL to BIDS compatibilityMoving ExploreASL to BIDS compatibility