Skip to content

Commit

Permalink
FIX: filename typos + extra line in list of scans
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientourbier committed May 10, 2019
1 parent b520fc3 commit d643809
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/code/create_scan_preproc_json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cat <<EOF
}
EOF
) > $OUTPUT_JSON
) > $OUTPUT_JSON
1 change: 0 additions & 1 deletion data/code/sub-01_ses-01_scans.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sub-01_run-1_T2w axial
sub-01_run-2_T2w coronal
sub-01_run-3_T2w sagittal

1 change: 0 additions & 1 deletion data/code/sub-01_ses-02_scans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ sub-01_run-3_T2w sagittal
sub-01_run-4_T2w coronal
sub-01_run-5_T2w sagittal
sub-01_run-6_T2w sagittal

7 changes: 5 additions & 2 deletions data/code/superresolution_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ do
echo "Process stack $stack with $orientation orientation..."

#Reorient the image
mialsrtkOrientImage -i ${PATIENT_DIR}/${stack}.nii.gz -o $RESULTS/${stack}_reo_iteration_${ITER}.nii.gz -O "$orientation"
mialsrtkOrientImage -i ${PATIENT_MASK_DIR}/${stack}_desc-brain_mask.nii.gz -o $RESULTS/${stack}_desc-brain_mask_reo_iteration_${ITER}.nii.gz -O "$orientation"
#mialsrtkOrientImage -i ${PATIENT_DIR}/${stack}.nii.gz -o $RESULTS/${stack}_reo_iteration_${ITER}.nii.gz -O "$orientation"
#mialsrtkOrientImage -i ${PATIENT_MASK_DIR}/${stack}_desc-brain_mask.nii.gz -o $RESULTS/${stack}_desc-brain_mask_reo_iteration_${ITER}.nii.gz -O "$orientation"

cp "${PATIENT_DIR}/${stack}.nii.gz" "$RESULTS/${stack}_reo_iteration_${ITER}.nii.gz"
cp "${PATIENT_MASK_DIR}/${stack}_desc-brain_mask.nii.gz" "$RESULTS/${stack}_desc-brain_mask_reo_iteration_${ITER}.nii.gz"

#denoising on reoriented images
weight="0.1"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d643809

Please sign in to comment.