Skip to content

Commit 924fa22

Browse files
author
Dan Levitas
committed
[ENH] update how pet2bids is installed
1 parent be8ec55 commit 924fa22

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

handler/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ RUN apt update && \
99

1010
RUN apt install -y parallel python3 python3-pip tree curl unzip git jq python libgl-dev python-numpy
1111

12-
RUN pip3 install numpy==1.23.0 nibabel==4.0.0 pandas==1.0.1 matplotlib pyyaml==5.4.1 pydicom==2.3.1 natsort pydeface && \
13-
pip3 install quickshear pypet2bids==1.3.9 mne mne-bids
12+
RUN pip3 install numpy==1.23.0 nibabel==4.0.0 pandas matplotlib pyyaml==5.4.1 pydicom==2.3.1 natsort pydeface && \
13+
pip3 install quickshear mne mne-bids
14+
15+
# Install pypet2bids
16+
RUN git clone https://github.com/openneuropet/PET2BIDS && \
17+
cd PET2BIDS && make installpoetry buildpackage installpackage
1418

1519
RUN apt-get install -y build-essential pkg-config cmake git pigz rename zstd libopenjp2-7 libgdcm-tools wget libopenblas-dev && \
1620
apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y
1721

22+
1823
RUN touch /.pet2bidsconfig && chown 1001:1001 /.pet2bidsconfig
1924
RUN echo "DEFAULT_METADATA_JSON=/usr/local/lib/python3.8/dist-packages/pypet2bids/template_json.json" > /.pet2bidsconfig
2025

0 commit comments

Comments
 (0)