Release Notes
Add acquisition duration tracking to BIDS _scans.tsv files (#872)
๐ Enhancement
- New
durationcolumn in_scans.tsv, andduration_sourcetelling what it was established from (described, with its levels, inscans.json). See the newdocs/duration.rst. --command populate-scans-duration [--overwrite] [--fix-acq-time]fills them in for already-converted datasets. It fails, after doing the rest, if content it needs cannot be read or a path has no*_scans.tsv.
๐ Bug Fix
acq_timeis now the earliest acquisition timestamp across a run's DICOMs, not whichever sorted first (#875, #876) -- it was typically a few seconds late for interleaved multiband Siemens acquisitions. Re-converting such a run will show an earlieracq_timethan before.- dcm2niix's sidecar
AcquisitionTimeis checked againstacq_timeand corrected when unambiguously affected by the same bias (dcm2niix#1039). - A
_scans.tsvwritten by an older version, or with custom columns, keeps every value under its own column when rows are added; a re-converted file's row is refreshed. - An existing
scans.jsongets the descriptions it is missing; a malformed one is now an error at conversion. - JSON sidecars' numeric arrays (e.g.
SliceTiming) now stay on one line; re-converting reformats existing sidecars, values unchanged.
โ ๏ธ API
get_formatted_scans_key_rowreturns 5 values, andadd_rows_to_scans_keys_filerequires rows of 5 (acq_time,duration,duration_source,operator,randstr); a caller passing 3 gets aValueError.
๐ Enhancement
- Add acquisition duration tracking to BIDS _scans.tsv files #872 (@bhanuprasad14 @claude @yarikoptic @yarikoptic-gitmate)
- Keep archived DICOM metadata reproducible across conversions #882 (@Aschenbath @yarikoptic)
- Drop support for Python 3.9, add 3.14, use typing features of Python 3.10 #887 (@claude @yarikoptic-gitmate)
- Correct dcm2niix's sidecar AcquisitionTime when unambiguously off #879 (@claude @yarikoptic-gitmate)
๐ Bug Fix
- Parse cached conversion tables without executing expressions #880 (@jdotc1 @yarikoptic)
- Support nibabel 5.5: use the same frame filters for multiframe DICOMs with any nibabel #886 (@claude @yarikoptic-gitmate)
- Do not let series-start times skew acq_time and duration #878 (@claude @yarikoptic-gitmate)
๐ Internal
- Do allow for tracking parallel processes while doing coverage #890 (@yarikoptic)
๐ Documentation
- docs: expand CONTRIBUTING.rst with test data and review guidance #900 (@claude @yarikoptic-gitmate)
- DOC: progress year for docs statement to 2026 #889 (@yarikoptic)
๐งช Tests
- Test with the lowest supported versions of dependencies, and make the stated lower bounds valid #888 (@claude @yarikoptic-gitmate)
Authors: 6
- @bhanuprasad14
- Claude (@claude)
- Jeff (@jdotc1)
- Nash Aschenbath (@Aschenbath)
- Yaroslav Halchenko (@yarikoptic)
- Yaroslav Halchenko (AI-driven) (@yarikoptic-gitmate)