Skip to content

Final BOLD images count is off #134

@cfilippi4

Description

@cfilippi4

What happened?

When trying to run nibabies, I got the error:


filippica@cn0922:/data/filippica/R21/code $ nibabies /data/filippica/R21/BIDS/OIT/ /data/filippica/R21/derivatives/OIT/nibabies participant --participant-label sub-OIT022 -w /data/filippica/R21/tmp/derivatives/OIT/nibabies --age-months 4 --nprocs 1 --omp-nthreads 1 --random-seed 0 --error-on-aroma-warnings -v --fd-spike-threshold .2 --fs-license-file /data/filippica/R21/lists/license.txt
WARNING: While bind mounting '/gs10:/gs10': destination is already in the mount point list
211008-18:17:07,915 cli INFO:
	 Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
bids-validator@1.5.7

	1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)

	Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing conversations about this issue.


        Summary:                  Available Tasks:        Available Modalities: 
        727 Files, 20.17GB                                T1w                   
        54 - Subjects                                     T2w                   
        52 - Sessions                                     bold                  
                                                          fieldmap              


	If you have any questions, please post on https://neurostars.org/tags/bids.

211008-18:17:24,393 nipype.workflow IMPORTANT:
	 
    Running nibabies version 0.1.2:
      * BIDS dataset path: /data/filippica/R21/BIDS/OIT.
      * Participant list: ['OIT022'].
      * Run identifier: 20211008-181657_b979f989-bfa5-4115-b481-9dcb3ea6a949.
      * Output spaces: None.
      * Pre-run FreeSurfer's SUBJECTS_DIR: /data/filippica/R21/derivatives/OIT/nibabies/freesurfer-infant.
Process Process-2:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/usr/local/miniconda/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/src/nibabies/nibabies/cli/workflow.py", line 82, in build_workflow
    retval["workflow"] = init_nibabies_wf()
  File "/src/nibabies/nibabies/workflows/base.py", line 68, in init_nibabies_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/src/nibabies/nibabies/workflows/base.py", line 417, in init_single_subject_wf
    subject=subject_id
  File "/src/nibabies/nibabies/utils/bids.py", line 187, in group_bolds_ref
    assert len(bolds) == sum([len(x) for x in files]), "Final BOLD images count is off"
AssertionError: Final BOLD images count is off

The functional fMRI data are complete.

I'm not sure what this error means and/or how to resolve. I'm running nibabies version 0.1.2.

I also checked to see if this was a part of the bids validator but got the same error when I added the --skip__bids_validation.

Thanks for your help!

-C

What command did you use?

nibabies /data/filippica/R21/BIDS/OIT/ /data/filippica/R21/derivatives/OIT/nibabies participant --participant-label sub-OIT022 -w /data/filippica/R21/tmp/derivatives/OIT/nibabies --age-months 4 --nprocs 1 --omp-nthreads 1 --random-seed 0 --error-on-aroma-warnings -v --fd-spike-threshold .2 --fs-license-file /data/filippica/R21/lists/license.txt

Version

0.1.2 or older

Relevant log output

No response

Add any additional information or context about the problem here.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions