Skip to content

Commit

Permalink
Merge pull request #40 from khanlab/update-heudiconv
Browse files Browse the repository at this point in the history
Miscellaneous bug fixes and updates
  • Loading branch information
akhanf authored Sep 28, 2023
2 parents 01d18c8 + e681c0b commit 9310e5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM debian:bullseye
LABEL maintainer="<alik@robarts.ca>"

# dcm2niix version
ENV DCM2NIIXTAG v1.0.20220720
ENV DCM2NIIXTAG v1.0.20230411

#heudiconv version:
ENV HEUDICONVTAG v0.11.3
ENV HEUDICONVTAG v0.13.1

#bids validator version:
ENV BIDSTAG 1.9.7
Expand Down
2 changes: 1 addition & 1 deletion heuristics/cfmm_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

def create_key(template, outtype=('nii.gz'), annotation_classes=None):
def create_key(template, outtype=('nii.gz',), annotation_classes=None):
if template is None or not template:
raise ValueError('Template must be a valid format string')
return (template, outtype, annotation_classes)
Expand Down
2 changes: 1 addition & 1 deletion tar2bids
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ else
fi

echo " Removing _ROI#.nii.gz files (unused scale bars from qMRI)..."
rm -vf $output_dir/sub*/*/*ROI[0-9].nii.gz $output_dir/sub*/ses*/*ROI[0-9].nii.gz 2> /dev/null
rm -vf $output_dir/sub*/*/*ROI[0-9].nii.gz $output_dir/sub*/ses*/*/*ROI[0-9].nii.gz 2> /dev/null

echo " Running bids-validator..."
bids-validator $output_dir | tee $validator_out
Expand Down

0 comments on commit 9310e5c

Please sign in to comment.