Skip to content

Commit e611c33

Browse files
committed
Make it possible to specify DICOMs and containers directories
1 parent fa64a9b commit e611c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/reproin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ if [ "$#" = 0 ]; then
7272
exit 0
7373
fi
7474

75-
dicomdir="/inbox/DICOM"
75+
dicomdir="${DICOM_DIR:-/inbox/DICOM}"
7676
bidsdir="${BIDS_DIR:-/inbox/BIDS}"
7777
listdir="$bidsdir/reproin/lists"
7878
# TODO: make it possible to not rely on local clone or prepopulate if not present?!
79-
local_containers="~/repronim-containers"
79+
local_containers="${REPRONIM_CONTAINERS:-$HOME/repronim-containers}"
8080

8181
heuristic="reproin"
8282

0 commit comments

Comments
 (0)