-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Description
For one of the TWINS datasets (EMI 301), there is an error in NII2BIDS. In xASL_bids_BIDSifyAnatJSON the code crashes because jsonOut.RepetitionTimePreparation is an array. We definitey need to check for that in the code and why that happens for this indiviudal dataset.
% If RepetitionTimePreparation is equal to RepetitionTime, then remove RepetitionTimePreparation
if isfield(jsonIn,'RepetitionTime') && isfield(jsonIn,'RepetitionTimePreparation') &&...
isnear(jsonIn.RepetitionTime,jsonIn.RepetitionTimePreparation)
jsonOut = rmfield(jsonOut,'RepetitionTimePreparation');
endRequirements
Optional: add bug requirements here
How to test
Optional: insert description about how to test the code changes here
Release notes
Improve repetition time field checks and add a user warning.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working