I'm trying to discriminate between two sequences where the only difference is in the image dimensions, which I can see in the seqinfo tsv file. However, I'm encountering this error:
INFO: Loading heuristic file...
INFO: Applying heuristic to query results...
Traceback (most recent call last):
File "./fw_heudiconv_run.py", line 69, in
curate.convert_to_bids(fw, project_label, heuristic, subjects, sessions, dry_run=dry_run)
File "/flywheel/v0/fw_heudiconv/cli/curate.py", line 86, in convert_to_bids
to_rename = heuristic.infotodict(seq_infos)
File "/flywheel/v0/input/heuristic/presurgicalEpilepsy_heuristic_5.py", line 96, in infotodict
if dim3==612:
NameError: name 'dim3' is not defined
Attaching the seq info file. I'm trying to discriminate between an ASL sequence and its corresponding M0 scan. The dcm2niix conversion seems messy because there are two separate nifti files for the M0. I'll poke around to see if that might be the more fundamental issue, because the conversion goes fine outside of Flywheel.
Hi,
I'm trying to discriminate between two sequences where the only difference is in the image dimensions, which I can see in the seqinfo tsv file. However, I'm encountering this error:
INFO: Loading heuristic file... INFO: Applying heuristic to query results... Traceback (most recent call last): File "./fw_heudiconv_run.py", line 69, in
curate.convert_to_bids(fw, project_label, heuristic, subjects, sessions, dry_run=dry_run)
File "/flywheel/v0/fw_heudiconv/cli/curate.py", line 86, in convert_to_bids
to_rename = heuristic.infotodict(seq_infos)
File "/flywheel/v0/input/heuristic/presurgicalEpilepsy_heuristic_5.py", line 96, in infotodict
if dim3==612:
NameError: name 'dim3' is not defined
Attaching the seq info file. I'm trying to discriminate between an ASL sequence and its corresponding M0 scan. The dcm2niix conversion seems messy because there are two separate nifti files for the M0. I'll poke around to see if that might be the more fundamental issue, because the conversion goes fine outside of Flywheel.
presurgicalEpilepsy_SeqInfo.xlsx
Thanks for your help, Will