Skip to content

Commit 0c78a20

Browse files
committed
Merge tag 'v0.9.0' into debian
Various improvements and compatibility/support (dcm2niix, datalad, duecredit) changes. Major change is placement of output files to the target output directory during conversion. - #454 zenodo referencing in README.rst and support for ducredit for heudiconv and reproin heuristic - #445 more tutorial references in README.md - [#485][] placed files during conversion right away into the target directory (with a `_heudiconv???` suffix, renamed into ultimate target name later on), which avoids hitting file size limits of /tmp ([#481][]) and helped to avoid a regression in dcm2nixx 1.0.20201102 - #477 replaced `rec-<magnitude|phase>` with `part-<mag|phase>` now that BIDS supports the part entity - #473 made default for CogAtlasID to be a TODO URL - #459 made AcquisitionTime used for acq_time scans file field - #451 retained sub-second resolution in scans files - #442 refactored code so there is now heudiconv.main.workflow for more convenient use as a Python module - minimal version of nipype set to 1.2.3 to guarantee correct handling of DWI files ([#480][]) - `heudiconvDCM*` temporary directories are removed now ([#462][]) - compatibility with DataLad 0.13 ([#464][]) - #443 pathlib as a dependency (we are Python3 only now) * tag 'v0.9.0': Add a helper rule to upload to pypi update changelog reference as part of prep release [DATALAD RUNCMD] prepare the release CHANGELOG entry for 0.9.0
2 parents c5aa77e + 972c1aa commit 0c78a20

File tree

7 files changed

+55
-18
lines changed

7 files changed

+55
-18
lines changed

CHANGELOG.md

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,42 @@ All notable changes to this project will be documented (for humans) in this file
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [0.8.1] - Date
7+
## [0.9.0] - 2020-12-23
88

9-
TODO Summary
9+
Various improvements and compatibility/support (dcm2niix, datalad,
10+
duecredit) changes. Major change is placement of output files to the
11+
target output directory during conversion.
1012

1113
### Added
14+
15+
- #454 zenodo referencing in README.rst and support for ducredit for
16+
heudiconv and reproin heuristic
17+
- #445 more tutorial references in README.md
18+
1219
### Changed
13-
### Deprecated
20+
21+
- [#485][] placed files during conversion right away into the target
22+
directory (with a `_heudiconv???` suffix, renamed into ultimate target
23+
name later on), which avoids hitting file size limits of /tmp ([#481][]) and
24+
helped to avoid a regression in dcm2nixx 1.0.20201102
25+
- #477 replaced `rec-<magnitude|phase>` with `part-<mag|phase>` now
26+
that BIDS supports the part entity
27+
- #473 made default for CogAtlasID to be a TODO URL
28+
- #459 made AcquisitionTime used for acq_time scans file field
29+
- #451 retained sub-second resolution in scans files
30+
- #442 refactored code so there is now heudiconv.main.workflow for
31+
more convenient use as a Python module
32+
1433
### Fixed
34+
35+
- minimal version of nipype set to 1.2.3 to guarantee correct handling
36+
of DWI files ([#480][])
37+
- `heudiconvDCM*` temporary directories are removed now ([#462][])
38+
- compatibility with DataLad 0.13 ([#464][])
39+
1540
### Removed
16-
### Security
41+
42+
- #443 pathlib as a dependency (we are Python3 only now)
1743

1844

1945
## [0.8.0] - 2020-04-15
@@ -323,6 +349,7 @@ TODO Summary
323349
[#366]: https://github.com/nipy/heudiconv/issues/366
324350
[#368]: https://github.com/nipy/heudiconv/issues/368
325351
[#373]: https://github.com/nipy/heudiconv/issues/373
352+
[#485]: https://github.com/nipy/heudiconv/issues/485
326353
[#293]: https://github.com/nipy/heudiconv/issues/293
327354
[#304]: https://github.com/nipy/heudiconv/issues/304
328355
[#306]: https://github.com/nipy/heudiconv/issues/306
@@ -360,11 +387,7 @@ TODO Summary
360387
[#434]: https://github.com/nipy/heudiconv/issues/434
361388
[#436]: https://github.com/nipy/heudiconv/issues/436
362389
[#437]: https://github.com/nipy/heudiconv/issues/437
363-
[#425]: https://github.com/nipy/heudiconv/issues/425
364-
[#420]: https://github.com/nipy/heudiconv/issues/420
365-
[#425]: https://github.com/nipy/heudiconv/issues/425
366-
[#430]: https://github.com/nipy/heudiconv/issues/430
367-
[#432]: https://github.com/nipy/heudiconv/issues/432
368-
[#434]: https://github.com/nipy/heudiconv/issues/434
369-
[#436]: https://github.com/nipy/heudiconv/issues/436
370-
[#437]: https://github.com/nipy/heudiconv/issues/437
390+
[#462]: https://github.com/nipy/heudiconv/issues/462
391+
[#464]: https://github.com/nipy/heudiconv/issues/464
392+
[#480]: https://github.com/nipy/heudiconv/issues/480
393+
[#481]: https://github.com/nipy/heudiconv/issues/481

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1+
PYTHON ?= python3
2+
13
all:
24
echo 'nothing by default'
35

46
prep_release:
57
# take previous one, and replace with the next one
68
utils/prep_release
9+
10+
release-pypi: prep_release
11+
# avoid upload of stale builds
12+
test ! -e dist
13+
# make sure all is still clean/committed
14+
! bash -c 'git diff | grep -q .'
15+
$(PYTHON) setup.py sdist
16+
$(PYTHON) setup.py bdist_wheel
17+
twine upload dist/*
18+

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ''
2828
# The full version, including alpha/beta/rc tags
29-
release = '0.8.0'
29+
release = '0.9.0'
3030

3131

3232
# -- General configuration ---------------------------------------------------

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If `Docker <https://docs.docker.com/install/>`_ is available on your system, you
2626
can visit `our page on Docker Hub <https://hub.docker.com/r/nipy/heudiconv/tags>`_
2727
to view available releases. To pull the latest release, run::
2828

29-
$ docker pull nipy/heudiconv:0.8.0
29+
$ docker pull nipy/heudiconv:0.9.0
3030

3131

3232
Singularity
@@ -35,4 +35,4 @@ If `Singularity <https://www.sylabs.io/singularity/>`_ is available on your syst
3535
you can use it to pull and convert our Docker images! For example, to pull and
3636
build the latest release, you can run::
3737

38-
$ singularity pull docker://nipy/heudiconv:0.8.0
38+
$ singularity pull docker://nipy/heudiconv:0.9.0

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The second script processes a DICOM directory with ``heudiconv`` using the built
8282
DCMDIR=${DCMDIRS[${SLURM_ARRAY_TASK_ID}]}
8383
echo Submitted directory: ${DCMDIR}
8484
85-
IMG="/singularity-images/heudiconv-0.8.0-dev.sif"
85+
IMG="/singularity-images/heudiconv-0.9.0-dev.sif"
8686
CMD="singularity run -B ${DCMDIR}:/dicoms:ro -B ${OUTDIR}:/output -e ${IMG} --files /dicoms/ -o /output -f reproin -c dcm2niix -b notop --minmeta -l ."
8787
8888
printf "Command:\n${CMD}\n"
@@ -97,7 +97,7 @@ This script creates the top-level bids files (e.g.,
9797
set -eu
9898

9999
OUTDIR=${1}
100-
IMG="/singularity-images/heudiconv-0.8.0-dev.sif"
100+
IMG="/singularity-images/heudiconv-0.9.0-dev.sif"
101101
CMD="singularity run -B ${OUTDIR}:/output -e ${IMG} --files /output -f reproin --command populate-templates"
102102

103103
printf "Command:\n${CMD}\n"

heudiconv/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.8.0"
1+
__version__ = "0.9.0"
22
__author__ = "HeuDiConv team and contributors"
33
__url__ = "https://github.com/nipy/heudiconv"
44
__packagename__ = 'heudiconv'

utils/prep_release

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ curver=$(python -c 'import heudiconv; print(heudiconv.__version__)')
99
# check
1010
test "$oldver" = "$curver"
1111

12+
utils/link_issues_CHANGELOG
13+
1214
sed -i -e "s,${oldver//./\\.},$newver,g" \
1315
docs/conf.py docs/installation.rst docs/usage.rst heudiconv/info.py
1416

0 commit comments

Comments
 (0)