Commit e6c5e1b
committed
Merge tag 'v0.6.0' into debian
This is largely a bug fix. Metadata and order of `_key-value` fields in BIDS
could change from the result of converting using previous versions, thus minor
version boost.
14 people contributed to this release -- thanks
[everyone](https://github.com/nipy/heudiconv/graphs/contributors)!
Enhancement
- Use [etelemetry](https://pypi.org/project/etelemetry) to inform about most
recent available version of heudiconv. Please set `NO_ET` environment variable
if you want to disable it ([#369][])
- BIDS:
- `--bids` flag became an option. It can (optionally) accept `notop` value
to avoid creation of top level files (`CHANGES`, `dataset_description.json`,
etc) as a workaround during parallel execution to avoid race conditions etc.
([#344][])
- Generate basic `.json` files with descriptions of the fields for
`participants.tsv` and `_scans.tsv` files ([#376][])
- Use `filelock` while writing top level files. Use
`HEUDICONV_FILELOCK_TIMEOUT` environment to change the default timeout value
([#348][])
- `_PDT2` was added as a suffix for multi-echo (really "multi-modal")
sequences ([#345][])
- Calls to `dcm2niix` would include full output path to make it easier to
discern in the logs what file it is working on ([#351][])
- With recent [datalad]() (>= 0.10), created DataLad dataset will use
`--fake-dates` functionality of DataLad to not leak data conversion dates,
which might be close to actual data acquisition/patient visit ([#352][])
- Support multi-echo EPI `_phase` data ([#373][] fixes [#368][])
- Log location of a bad .json file to ease troubleshooting ([#379][])
- Add basic pypi classifiers for the package ([#380][])
Fixed
- Sorting `_scans.tsv` files lacking valid dates field should not cause a crash
([#337][])
- Multi-echo files detection based number of echos ([#339][])
- BIDS
- Use `EchoTimes` from the associated multi-echo files if `EchoNumber` tag is
missing ([#366][] fixes [#347][])
- Tolerate empty ContentTime and/or ContentDate in DICOMs ([#372][]) and place
"n/a" if value is missing ([#390][])
- Do not crash and store original .json file is "JSON pretification" fails
([#342][])
- ReproIn heuristic
- tollerate WIP prefix on Philips scanners ([#343][])
- allow for use of `(...)` instead of `{...}` since `{}` are not allowed
([#343][])
- Support pipolar fieldmaps by providing them with `_epi` not `_magnitude`.
"Loose" BIDS `_key-value` pairs might come now after `_dir-` even if they
came first before ([#358][] fixes [#357][])
- All heuristics saved under `.heudiconv/` under `heuristic.py` name, to avoid
discrepancy during reconversion ([#354][] fixes [#353][])
- Do not crash (with TypeError) while trying to sort absent file list ([#360][])
- heudiconv requires nipype >= 1.0.0 ([#364][]) and blacklists `1.2.[12]` ([#375][])
* tag 'v0.6.0': (60 commits)
Version boost to 0.6.0
DOC: populate detailed changelog for 0.6.0 and tune up formatting in previous one
Fix miscellaneous typos in ReproIn heuristic file.
BF: fix check for the sbatch (SLURM) not being available
ENH: make test-compare-two-versions take any two worktrees, and just show diff if results already known
Update heudiconv/convert.py
apply @mgxd 's suggestions, adding a warning and a timeout environment variable
need str typecast
Use empty string not None
Empty acq_time results in empty cell not 'n/a'
DOC: Clarify tarball session handling
remove repetitive import statement
respond to review - add explicit py2 check - change file saving strategy - use logger instead of print
fix remaning py2 errors
MNT: Add Python support metadata to package
fix some python2/3 incompatibilities
add return data (accidently removed return)
make content unicode
test that load_json provides filename if invalid
explicitly name invalid json
...File tree
22 files changed
+526
-356
lines changed- docs
- heudiconv
- cli
- external
- heuristics
- tests
- utils
22 files changed
+526
-356
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
7 | 64 | | |
8 | 65 | | |
9 | 66 | | |
10 | | - | |
11 | | - | |
| 67 | + | |
| 68 | + | |
12 | 69 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
16 | 73 | | |
17 | 74 | | |
18 | 75 | | |
| |||
189 | 246 | | |
190 | 247 | | |
191 | 248 | | |
192 | | - | |
193 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
194 | 259 | | |
195 | 260 | | |
196 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
0 commit comments