Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous bug fixes and updates #40

Merged
merged 3 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="<[email protected]>"

# 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
Loading