Skip to content

Commit 9e62ef3

Browse files
committed
FIX: use more recent heudiconv
1 parent d08308a commit 9e62ef3

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by Neurodocker version 0.4.0.dev2
2-
# Timestamp: 2018-05-12 17:03:02 UTC
2+
# Timestamp: 2018-05-22 19:25:04 UTC
33
#
44
# Thank you for using Neurodocker. If you discover any issues
55
# or ways to improve this software, please submit an issue or
@@ -76,7 +76,7 @@ RUN npm install -g [email protected]
7676

7777
RUN mkdir /afs /inbox
7878

79-
RUN pip install heudiconv[all]
79+
RUN pip install git+https://github.com/nipy/heudiconv.git@d3b7077bd24afcae459531889263dde08ae50466
8080

8181
ENV PATH="/opt/dcm2niix-v1.0.20180328/bin:$PATH"
8282
RUN apt-get update -qq \
@@ -101,7 +101,7 @@ RUN apt-get update -qq \
101101
&& make install \
102102
&& rm -rf /tmp/dcm2niix
103103

104-
RUN echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'if [ -z "$@" ]; then heudiconv -h; else heudiconv "$@"; fi' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh
104+
RUN echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'heudiconv "$@"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh
105105

106106
RUN useradd --no-user-group --create-home --shell /bin/bash reproin
107107
USER reproin
@@ -160,7 +160,7 @@ RUN echo '{ \
160160
\n ], \
161161
\n [ \
162162
\n "run", \
163-
\n "pip install heudiconv[all]" \
163+
\n "pip install git+https://github.com/nipy/heudiconv.git@d3b7077bd24afcae459531889263dde08ae50466" \
164164
\n ], \
165165
\n [ \
166166
\n "dcm2niix", \
@@ -171,7 +171,7 @@ RUN echo '{ \
171171
\n ], \
172172
\n [ \
173173
\n "run", \
174-
\n "echo '"'"'#!/bin/bash'"'"' >> /neurodocker/heudiconv.sh && echo '"'"'if [ -z \"$@\" ]; then heudiconv -h; else heudiconv \"$@\"; fi'"'"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
174+
\n "echo '"'"'#!/bin/bash'"'"' >> /neurodocker/heudiconv.sh && echo '"'"'heudiconv \"$@\"'"'"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
175175
\n ], \
176176
\n [ \
177177
\n "user", \

Singularity

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by Neurodocker version 0.4.0.dev2
2-
# Timestamp: 2018-05-12 17:03:04 UTC
2+
# Timestamp: 2018-05-22 19:25:06 UTC
33
#
44
# Thank you for using Neurodocker. If you discover any issues
55
# or ways to improve this software, please submit an issue or
@@ -71,7 +71,7 @@ npm install -g [email protected]
7171

7272
mkdir /afs /inbox
7373

74-
pip install heudiconv[all]
74+
pip install git+https://github.com/nipy/heudiconv.git@d3b7077bd24afcae459531889263dde08ae50466
7575

7676
apt-get update -qq
7777
apt-get install -y -q --no-install-recommends \
@@ -95,7 +95,7 @@ make
9595
make install
9696
rm -rf /tmp/dcm2niix
9797

98-
echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'if [ -z "$@" ]; then heudiconv -h; else heudiconv "$@"; fi' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh
98+
echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'heudiconv "$@"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh
9999

100100
useradd --no-user-group --create-home --shell /bin/bash reproin
101101
su - reproin
@@ -159,7 +159,7 @@ echo '{
159159
\n ],
160160
\n [
161161
\n "run",
162-
\n "pip install heudiconv[all]"
162+
\n "pip install git+https://github.com/nipy/heudiconv.git@d3b7077bd24afcae459531889263dde08ae50466"
163163
\n ],
164164
\n [
165165
\n "dcm2niix",
@@ -170,7 +170,7 @@ echo '{
170170
\n ],
171171
\n [
172172
\n "run",
173-
\n "echo '"'"'#!/bin/bash'"'"' >> /neurodocker/heudiconv.sh && echo '"'"'if [ -z \"$@\" ]; then heudiconv -h; else heudiconv \"$@\"; fi'"'"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh"
173+
\n "echo '"'"'#!/bin/bash'"'"' >> /neurodocker/heudiconv.sh && echo '"'"'heudiconv \"$@\"'"'"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh"
174174
\n ],
175175
\n [
176176
\n "user",

generate_container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ generate() {
1212
--install nodejs npm \
1313
--run "npm install -g [email protected]" \
1414
--run "mkdir /afs /inbox" \
15-
--run "pip install heudiconv[all]" \
15+
--run "pip install git+https://github.com/nipy/heudiconv.git@d3b7077bd24afcae459531889263dde08ae50466" \
1616
--dcm2niix version="v1.0.20180328" method="source" \
17-
--run "echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'if [ -z \"\$@\" ]; then heudiconv -h; else heudiconv \"\$@\"; fi' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
17+
--run "echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'heudiconv \"\$@\"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
1818
--user=reproin \
1919
--entrypoint "/neurodocker/heudiconv.sh"
2020
}

0 commit comments

Comments
 (0)