Skip to content

error on fmriprep output with anatomical fast-track #32

@bpinsard

Description

@bpinsard
Retrieved anatomical reference mask
Use standard template as functional scan reference.
Calculate the anatomical dice score.
  0%|                                                                                                                 | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/bin/giga_auto_qc", line 8, in <module>
    sys.exit(main())
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/run.py", line 83, in main
    workflow(args)
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/workflow.py", line 69, in workflow
    anatomical_metrics = assessments.calculate_anat_metrics(
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/assessments.py", line 351, in calculate_anat_metrics
    anat_dice = _dice_coefficient(anat_image[0], reference_masks["anat"])
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions