Skip to content

Commit 95b9f73

Browse files
authored
Merge pull request #226 from mgxd/rel/0.5.1
rel: 0.5.1
2 parents e30cd6b + 2b2abee commit 95b9f73

File tree

5 files changed

+85
-18
lines changed

5 files changed

+85
-18
lines changed

CHANGELOG.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,32 @@ 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-
## [UNRELEASED] - 2018-??-??
8-
TODO Summary
9-
### Added
7+
## [0.5.1] - 2018-07-05
8+
Bugfix release
109

10+
### Added
11+
- Video tutorial / updated slides
12+
- Helper to set metadata restrictions correctly
13+
- Usage is now shown when run without arguments
14+
- New fields to Seqinfo
15+
- series_uid
16+
- Reproin heuristic support for xnat
1117
### Changed
12-
13-
### Deprecated
14-
18+
- Dockerfile updated to use `dcm2niix v1.0.20180622`
19+
- Conversion table will be regenerated if heurisic has changed
20+
- Do not touch existing BIDS files
21+
- events.tsv
22+
- task JSON
1523
### Fixed
16-
17-
### Removed
18-
19-
### Security
20-
24+
- Python 2.7.8 and older installation
25+
- Support for updated packages
26+
- `Datalad` 0.10
27+
- `pydicom` 1.0.2
28+
- Later versions of `pydicom` are prioritized first
29+
- JSON pretty print should not remove spaces
30+
- Phasediff fieldmaps behavior
31+
- ensure phasediff exists
32+
- support for single magnitude acquisitions
2133

2234
## [0.5] - 2018-03-01
2335
The first release after major refactoring:

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pull request on our GitHub repository:
66
# https://github.com/kaczmarj/neurodocker
77
#
8-
# Timestamp: 2018-05-14 16:30:58
8+
# Timestamp: 2018-06-29 18:14:08
99

1010
FROM debian:stretch
1111

@@ -33,15 +33,15 @@ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
3333
ENTRYPOINT ["/neurodocker/startup.sh"]
3434

3535
#------------------------
36-
# Install dcm2niix v1.0.20180328
36+
# Install dcm2niix v1.0.20180622
3737
#------------------------
3838
WORKDIR /tmp
3939
RUN deps='cmake g++ gcc git make pigz zlib1g-dev' \
4040
&& apt-get update -qq && apt-get install -yq --no-install-recommends $deps \
4141
&& apt-get clean \
4242
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
4343
&& mkdir dcm2niix \
44-
&& curl -sSL https://github.com/rordenlab/dcm2niix/tarball/v1.0.20180328 | tar xz -C dcm2niix --strip-components 1 \
44+
&& curl -sSL https://github.com/rordenlab/dcm2niix/tarball/v1.0.20180622 | tar xz -C dcm2niix --strip-components 1 \
4545
&& mkdir dcm2niix/build && cd dcm2niix/build \
4646
&& cmake .. && make \
4747
&& make install \
@@ -120,7 +120,7 @@ RUN echo '{ \
120120
\n [ \
121121
\n "dcm2niix", \
122122
\n { \
123-
\n "version": "v1.0.20180328" \
123+
\n "version": "v1.0.20180622" \
124124
\n } \
125125
\n ], \
126126
\n [ \
@@ -160,6 +160,6 @@ RUN echo '{ \
160160
\n "/neurodocker/startup.sh heudiconv" \
161161
\n ] \
162162
\n ], \
163-
\n "generation_timestamp": "2018-05-14 16:30:58", \
163+
\n "generation_timestamp": "2018-06-29 18:14:08", \
164164
\n "neurodocker_version": "0.3.2" \
165165
\n}' > /neurodocker/neurodocker_specs.json

heudiconv/info.py

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

utils/gen-docker-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
VER=$(grep -Po '(?<=^__version__ = ).*' ../heudiconv/info.py | sed 's/"//g')
66

77
docker run --rm kaczmarj/neurodocker:v0.3.2 generate -b debian:stretch -p apt \
8-
--dcm2niix version=v1.0.20180328 \
8+
--dcm2niix version=v1.0.20180622 \
99
--neurodebian os_codename=stretch download_server=usa-nh pkgs=git-annex-standalone \
1010
--install git gcc pigz \
1111
--copy . /src/heudiconv \

utils/update_changes.sh

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
#
3+
# Adapted from https://github.com/nipy/nipype/blob/master/tools/update_changes.sh
4+
#
5+
# This is a script to be run before releasing a new version.
6+
#
7+
# Usage /bin/bash update_changes.sh 0.5.1
8+
#
9+
10+
# Setting # $ help set
11+
set -u # Treat unset variables as an error when substituting.
12+
set -x # Print command traces before executing command.
13+
14+
CHANGES=../CHANGELOG.md
15+
16+
17+
# Add changelog documentation
18+
cat > newchanges <<'_EOF'
19+
# Changelog
20+
All notable changes to this project will be documented (for humans) in this file.
21+
22+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
23+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
24+
25+
_EOF
26+
27+
# List all merged PRs
28+
curl -s https://api.github.com/repos/nipy/heudiconv/pulls?state=closed+milestone=$1 | jq -r \
29+
'.[] | "\(.title) #\(.number) milestone:\(.milestone.title) \(.merged_at)"' | sed '/null/d' | sed '/milestone:0.5 /d' >> newchanges
30+
echo "" >> newchanges
31+
echo "" >> newchanges
32+
33+
34+
# Elaborate today's release header
35+
HEADER="## [$1] - $(date '+%Y-%m-%d')"
36+
echo $HEADER >> newchanges
37+
echo "TODO Summary" >> newchanges
38+
echo "### Added" >> newchanges
39+
echo "" >> newchanges
40+
echo "### Changed" >> newchanges
41+
echo "" >> newchanges
42+
echo "### Deprecated" >> newchanges
43+
echo "" >> newchanges
44+
echo "### Fixed" >> newchanges
45+
echo "" >> newchanges
46+
echo "### Removed" >> newchanges
47+
echo "" >> newchanges
48+
echo "### Security" >> newchanges
49+
echo "" >> newchanges
50+
51+
# Append old CHANGES
52+
tail -n+7 $CHANGES >> newchanges
53+
54+
# Replace old CHANGES with new file
55+
mv newchanges $CHANGES

0 commit comments

Comments
 (0)