Skip to content

Commit 11e5f38

Browse files
Correct baboon3 ants quick (#300)
* forgot atlas_brex in ants quick...
1 parent 03c9a88 commit 11e5f38

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Dockerfile_macapype_env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ RUN mkdir /opt/mcr_install \
3535
# Install SPM Standalone in /opt/spm12/
3636
ENV SPM_VERSION 12
3737
ENV SPM_REVISION r7771
38-
ENV LD_LIBRARY_PATH /opt/mcr/${MCR_VERSION}/runtime/glnxa64:/opt/mcr/${MCR_VERSION}/bin/glnxa64:/opt/mcr/${MCR_VERSION}/sys/os/glnxa64:/opt/mcr/${MCR_VERSION}/sys/opengl/lib/glnxa64:/opt/mcr/${MCR_VERSION}/extern/bin/glnxa64
38+
39+
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mcr/${MCR_VERSION}/runtime/glnxa64:/opt/mcr/${MCR_VERSION}/bin/glnxa64:/opt/mcr/${MCR_VERSION}/sys/os/glnxa64:/opt/mcr/${MCR_VERSION}/sys/opengl/lib/glnxa64:/opt/mcr/${MCR_VERSION}/extern/bin/glnxa64
40+
3941
ENV MCR_INHIBIT_CTF_LOCK 1
4042
ENV SPM_HTML_BROWSER 0
4143
# Running SPM once with "function exit" tests the succesfull installation *and*

Dockerfile_spm_hdbet

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# Timestamp: 2020/12/02 18:33:44 UTC
1111

12-
FROM macatools/macapype_env:v0.2.2-spm
12+
FROM macatools/macapype_env:v0.2.3-spm
1313

1414
USER root
1515

@@ -53,7 +53,7 @@ RUN python -m pip install HD-BET
5353

5454
############################################# install macapype
5555

56-
RUN python -m pip install --pre macapype
56+
RUN python -m pip install macapype --upgrade
5757
RUN python -c "import macapype; print(macapype.__version__)"
5858

5959
################################################## Finishing
@@ -64,3 +64,5 @@ RUN rm -rf \
6464
/tmp/hsperfdata* \
6565
/var/*/apt/*/partial \
6666
/var/log/apt/term*
67+
68+
ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH

macapype/utils/utils_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ def update_params(ssoft=[], subjects=None, sessions=None,
129129
indiv_params=indiv_params, params=params, extra_wf_name="")
130130

131131
# modifying crop_aladin
132+
if "short_preparation_pipe" not in params:
133+
return params, indiv_params, extra_wf_name
134+
132135
params_spp = params["short_preparation_pipe"]
133136

134137
if "crop_aladin_pipe" in params_spp.keys():

workflows/params_segment_baboon3_ants_quick.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,8 @@
3232
},
3333
"extract_pipe":
3434
{
35-
"atlas_brex":
35+
"hdbet":
3636
{
37-
"f": 0.7,
38-
"reg": 1,
39-
"msk": "b,0.5,0,0",
40-
"wrp": "10,10,10",
41-
"dil": 1,
42-
"nrm": 1
4337

4438
}
4539
},

0 commit comments

Comments
 (0)