Skip to content

Commit

Permalink
Move input and output directory to root.
Browse files Browse the repository at this point in the history
  • Loading branch information
YT-R committed Sep 8, 2022
1 parent 8082e65 commit 6b68edc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ ENV PATH="/opt/c3d-1.0.0-Linux-x86_64/bin:$PATH"

ENV FREESURFER_HOME=/opt/freesurfer

RUN mkdir /home/INPUTS && \
mkdir /home/OUTPUTS
RUN mkdir /INPUTS && \
mkdir /OUTPUTS

COPY src /home

Expand Down
6 changes: 3 additions & 3 deletions src/pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ done
# setup freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh

cd /home/INPUTS
cd /INPUTS

# check file existence
if [ ! -f T1.nii.gz ]; then
Expand All @@ -35,8 +35,8 @@ if [ ! -f BOLD_d.nii.gz ]; then
exit 1
fi

INPUTS_PATH=/home/INPUTS
RESULTS_PATH=/home/OUTPUTS
INPUTS_PATH=/INPUTS
RESULTS_PATH=/OUTPUTS

if [ $skull_stripped ]; then
T1_ATLAS_PATH=/home/mni_icbm152_t1_tal_nlin_asym_09c_mask.nii.gz
Expand Down

0 comments on commit 6b68edc

Please sign in to comment.