Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 7fab2bf

Browse files
authored
Merge pull request #3 from flywheel-apps/v0.1.2
V0.1.2
2 parents e36ca73 + fecec3c commit 7fab2bf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

export.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Exports the container in the cwd.
33
# The container can be exported once it's started with
44

5-
version=0.1.1
5+
version=0.1.2
66
outname=mri_deface-$version.tar
77
container=mri_deface
88
image=flywheel/mri-deface

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"name": "mri-deface",
2727
"source": "https://github.com/flywheel-apps/mri-deface",
2828
"url": "https://surfer.nmr.mgh.harvard.edu/fswiki/mri_deface",
29-
"version": "0.1.1",
29+
"version": "0.1.2",
3030
"custom": {
31-
"docker-image": "flywheel/mri-deface:v0.1.1"
31+
"docker-image": "flywheel/mri-deface:v0.1.2"
3232
}
3333
}

run

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ LOG_FILE=/flywheel/v0/output/mri-deface.log
4646
if [[ -e $CONFIG_FILE ]]
4747
then
4848
echo "Config file is present"
49-
outextension=`cat $CONFIG_FILE | jq '.config.output_extension'`
49+
outextension=`cat $CONFIG_FILE | jq -r '.config.output_extension'`
5050
echo "The extension read from the config file: $outextension"
5151
# Otherwise, define output file extension as nifti (.nii.gz)
5252
else
53-
outextension="nii.gz"
53+
outextension=".nii.gz"
5454
echo "No config file found, so default extension ($outextension) is being used for output"
5555
fi
5656
# Define output file to be passed to mri_deface
57-
output_file=$OUTPUT_DIR/$filename'_deface.'$outextension
57+
output_file=$OUTPUT_DIR/$filename'_deface'$outextension
5858
/flywheel/v0/mri_deface $input_file $brain_template $face_template $output_file
5959
else
6060
echo "No Nifti, DICOM or MGZ inputs were found within input directory $INPUT_DIR"

0 commit comments

Comments
 (0)