Changes since 1.8.0
Added:
Module/base
: Added possibility to lockseriesNo
andseriesId
to avoid the retrieval of No and Id for each loaded filebidsify
,map
: Series No and Id is retrieved from folder name and not automatically- MRS: support for Magnetic Resonance Spectroscopy
Changed:
tools.change_ext
will return basename ifnew_ext
is NoneModule/base
: If unable to recover series number or series id, the default values of 0 and 'unknown' will be usedModule/base
: In series id, the space and tabs will be replaced by underscoresModule/base
: Retriving an incorrect characteristic (<<>>
) will pring an error to log- bidsmap/run: If modality or suffix not defined, default model will be
__unknown__
, otherwise<modality>:suffix
- bidsmap/bidsmap: For
__unknown__
and__ignore__
modalities, the model will be fixed to__unknown__
- mapper: If suffix is not defined, an error will be shown, and no further vqalidations will be performed on that file
- BidsTable: Updated
lineterminator
parameter, making it compatible with modern (>1.4) Pandas, and Pythons up to 3.12 - Modules: Base module class selector has been moved into tools, new modalities are no longer decalred in `selector.py
Fixed:
Module/jsonNIFTY
: no longer spams warnings if unable to determine series id- bidsmap: Empty modules no longer saved to bidsmap
- bidsmap: In case of BIDS version change, warning shows incorrect version
- hmriNIFTI: Fixed error of corrupted file on Siemens derivated MRI images lacking
CSASeriesHeaderInfo
sections