Closed pcamach2 closed 2 years ago
In case this is relevant, I have run into the exact same error using the latest Docker version of xcpEngine and the standard anat-antsct.dsn with a dataset of my own brain from a completely different project that I use to test most of my code. This test data was processed with fmriprep v20.0.7 and I do have sudo privileges on that workstation
@pcamach2 This could be a memory issue. If you are running this via Singularity make sure your system has at least 10GB of RAM.
@a3sha2 The HPC system has 256 GB of RAM, so I don't think that would be the limiting factor considering that other Singularity images have run with greater RAM demands (e.g. fMRIPrep and some of our in-house images that pull well over 20GB at peak). The machine on which Docker was run has 64GB of RAM and has not had memory failure issues with other Docker images.
Also, the T1w output is already n4 corrected and xcp will do n4 again during ANTsCT, can you use raw the T1w image
@a3sha2 would you recommend just running fMRIPrep without N4 going forward, then?
Also, I am trying to run through the tutorial and encountering the same error with the provided test dataset. Was the T1w specified for use in the tutorial also N4 corrected?
Let me try it from our end, it is possible that the problem is from ANTs. Thank you for your patience.
@pcamach2 the failing is due to priors, pull for new docker or singularity image: latest or 1.2.3
@a3sha2 just pulled the 1.2.3 Docker image and attempting to run. I'll keep you updated
The anat-antsct.dsn pipeline now gets to the qcfc portion and fails to find {xcpEngineOutput}/{subject}/norm/{subject}-intensityStd.nii.gz , which later causes DVARS calculation to fail in the functional processing pipeline
Qcfc is for functional not structural
Get Outlook for iOShttps://aka.ms/o0ukef
From: pcamach2 notifications@github.com Sent: Monday, August 10, 2020 7:57:26 PM To: PennBBL/xcpEngine xcpEngine@noreply.github.com Cc: Azeez Adebimpe azeez.adebimpe@outlook.com; Mention mention@noreply.github.com Subject: Re: [PennBBL/xcpEngine] Cortical Thickness Failing (#373)
The anat-antsct.dsn pipeline now gets to the qcfc portion and fails to find {xcpEngineOutput}/{subject}/norm/{subject}-intensityStd.nii.gz , which later causes DVARS calculation to fail in the functional processing pipeline
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PennBBL/xcpEngine/issues/373#issuecomment-671647357, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBXECTQIG3CDSDQED52HKTSACCONANCNFSM4PWVL5VQ.
apologies, this error occurred during the qcanat module, which later caused an error in the qcfc module
Here is the error:
Current processing step:
@3 Computing measures of anatomical quality
····································································
· @3.1 Using cortical mask
- - -
>> ${XCPEDIR}/utils/qcanat.R -i /data/fmriprep/sub-1/anat/sub-1_desc-preproc_T1w.nii.gz -m /data/xcp_output/sub-1/qcanat/sub-1_gmMask.nii.gz -w /data/xcp_output/sub-1/qcanat/sub-1_wmMask.nii.gz -f /data/xcp_output/sub-1/qcanat/sub-1_foreground.nii.gz -c /data/xcp_output/sub-1/qcanat/sub-1_cortexMask.nii.gz
· [Foreground-background energy ratio: 1.457092 ]
· [Signal-to-noise ratio: 2.662513 ]
· [Contrast-to-noise ratio: 0.1596611 ]
· [Cortical contrasts: -0.0387296 ]
· [Entropy focus criterion: 0.5915795 ]
· [Grey matter kurtosis: 1.620098 ]
· [Grey matter skewness: 0.524175 ]
· [White matter kurtosis: 1.51769 ]
· [White matter skewness: 0.4213613 ]
· [Background kurtosis: 50.59019 ]
· [Background skewness: 6.766232 ]
· @3.2 Organising estimates
····································································
Processing step complete:
Computing measures of anatomical quality
Module Workflow Map
····································································
· START
· @1
· @1.1a
· @1.1b
· @1.1a
· @1.1b
· @1.1a
· @1.1b
· @1.1a
· @1.1b
· @2
· @2.1
· @2.2
· @2.3
· @2.4
· @2.5
· @2.6
· @3
· @3.1
· @3.2
· FINISH
····································································
/xcpEngine/core/functions/cleanup: line 3: ((: == 1 : syntax error: operand expected (error token is "== 1 ")
Module complete
generating report
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/plotting/displays.py:99: UserWarning: No contour levels were found within the data range.
**kwargs)
Traceback (most recent call last):
File "/xcpEngine/core/report.py", line 405, in <module>
moving = load_img(outdir+'/norm/'+prefix+'_intensityStd.nii.gz')
File "/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/image.py", line 1063, in load_img
return check_niimg(img, wildcards=wildcards, dtype=dtype)
File "/usr/local/miniconda/lib/python3.7/site-packages/nilearn/_utils/niimg_conversions.py", line 251, in check_niimg
raise ValueError("File not found: '%s'" % niimg)
ValueError: File not found: '/data/xcp_output/sub-1/norm/sub-1_intensityStd.nii.gz'
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ ANALYSIS COMPLETE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
The following error occurs during the running fc-aroma.dsn using the struc output from the run in my last comment:
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
CURRENTLY PROCESSING MODULE:
★ qcfc ★
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[Delegating control to module]
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ FUNCTIONAL QUALITY ASSESSMENT MODULE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[I][/data/xcp_output/sub-1/sub-1.nii.gz]
[O][/data/xcp_output/sub-1/qcfc]
Current processing step:
@1 Preparing depth map
····································································
· @1.1 Segmentation: /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz
· @1.2 Output: /data/xcp_output/sub-1/qcfc/sub-1_depthMap.nii.gz
- - -
>> ${XCPEDIR}/utils/unique.R -i /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz
- - -
>> ${XCPEDIR}/utils/layerLabels -l /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~ -o /data/xcp_output/sub-1/qcfc/sub-1_depthMap.nii.gz
· @u.1
- - -
>> ${XCPEDIR}/utils/unique.R -i /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 1 -uthr 1 -div 1 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz -mul 100 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-1.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 2 -uthr 2 -div 2 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz -mul 200 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-2.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 3 -uthr 3 -div 3 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz -mul 300 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-3.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 4 -uthr 4 -div 4 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz -mul 400 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-4.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 5 -uthr 5 -div 5 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz -mul 500 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-5.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz
· @u.2
- - -
>> fslmaths /data/xcp_output/sub-1/prestats/sub-1_segmentation.nii.gz -thr 6 -uthr 6 -div 6 -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz
- - -
>> ImageMath 3 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz MaurerDistance /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz -sub 1 -mul -1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz
· @u.3
- - -
>> ${XCPEDIR}/utils/val2pct.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz -m /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz
· @u.4
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz -mul 600 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz -mul 100 -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-class-6.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz
· @u.5
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-1.nii.gz -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-2.nii.gz -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-3.nii.gz -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-4.nii.gz -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-5.nii.gz -add /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-layerLabels-depth-6.nii.gz /data/xcp_output/sub-1/qcfc/sub-1_depthMap.nii.gz
····································································
Processing step complete:
Preparing depth map
Current processing step:
@2 Aligning depth map
····································································
· @2.1 Resampling to 6mm isotropic: minimally preprocessed
- - -
>> 3dresample -dxyz 6 6 6 -prefix /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-pp-rs.nii.gz -inset /data/xcp_output/sub-1/prestats/sub-1_preprocessed.nii.gz -rmode Li
· @2.2 Resampling to 6mm isotropic: denoised
- - -
>> 5-3-1
- - -
>> 5-1
- - -
>> 3dresample -dxyz 6 6 6 -prefix /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dn-rs.nii.gz -inset /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dn.nii.gz -rmode Li
· @2.4 Aligning depth map to sequence space
- - -
>> 5-4-1
- - -
>> 5-1
- - -
>> 3dresample -dxyz 6 6 6 -prefix /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-onion-rs.nii.gz -inset /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-onion.nii.gz -rmode NN
····································································
Processing step complete:
Aligning depth map
Current processing step:
@3 Preparing summary graphics
····································································
· @3.1 Acquiring arguments
- - -
>> fslval /data/fmriprep/sub-1/func/sub-1_task-rest_space-T1w_desc-preproc_bold.nii.gz pixdim4
- - -
>> 0.167*3.000000
- - -
>> 0.083*3.000000
- - -
>> cp /data/xcp_output/sub-1/confound2/mc/sub-1_dvars-std.1D /data/xcp_output/sub-1/qcfc/sub-1~TEMP~_dvar.1D
- - -
>> cp /data/xcp_output/sub-1/confound2/mc/sub-1_fd.1D /data/xcp_output/sub-1/qcfc/sub-1~TEMP~_fd.1D
- - -
>> cp /data/xcp_output/sub-1/confound2/mc/sub-1_relRMS.1D /data/xcp_output/sub-1/qcfc/sub-1~TEMP~_rms1.1D
· @3.2 Generating visuals
- - -
>> ${XCPEDIR}/utils/voxts.R -i /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-pp-rs.nii.gz,/data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dn-rs.nii.gz -r /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-onion-rs.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1_voxts.png -t DV:/data/xcp_output/sub-1/qcfc/sub-1~TEMP~_dvar.1D:1.5,RMS:/data/xcp_output/sub-1/qcfc/sub-1~TEMP~_rms1.1D:.249000000,FD:/data/xcp_output/sub-1/qcfc/sub-1~TEMP~_fd.1D:.501000000 -n /xcpEngine/atlas/segmentation6/segmentation6NodeNames.txt
Warning messages:
1: Use of `ts$value` is discouraged. Use `value` instead.
2: Use of `ts$value` is discouraged. Use `value` instead.
3: Use of `ts$value` is discouraged. Use `value` instead.
4: Use of `ts$value` is discouraged. Use `value` instead.
5: Use of `ts$value` is discouraged. Use `value` instead.
6: Use of `ts$value` is discouraged. Use `value` instead.
····································································
Processing step complete:
Preparing summary graphics
Current processing step:
@4 Estimating loss of temporal degrees of freedom
····································································
- - -
>> rm -f /data/xcp_output/sub-1/qcfc/sub-1_tdof.txt
· @4.1 2 nuisance parameters regressed
· @4.3 0 volumes censored
/xcpEngine/modules/qcfc/qcfc.mod: line 263: nSpikesDV: command not found
· @4.4 Total lost tDOF: 2
····································································
Processing step complete:
Estimating loss of temporal degrees of freedom
Current processing step:
@5 Estimating post-processing DVARS
····································································
· @5.1 [Computing DVARS]
- - -
>> antsApplyTransforms -e 3 -d 3 -i /data/xcp_output/sub-1/norm/sub-1_referenceVolumeBrainStd.nii.gz -r /data/xcp_output/sub-1/prestats/sub-1_struct.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-referenceVolumeBrain.nii.gz -t /data/xcp_output/sub-1/struc/sub-1_TemplateToSubject1GenericAffine.mat -t /data/xcp_output/sub-1/struc/sub-1_TemplateToSubject0Warp.nii.gz
- - -
>> ${XCPEDIR}/utils/dvars -i /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz -o /data/xcp_output/sub-1/qcfc/sub-1_dvars -s /data/xcp_output/sub-1/qcfc/sub-1~TEMP~ -d 1 -b /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-referenceVolumeBrain.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz -Tperc 25 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-lowerQuartile.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz -Tperc 75 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-upperQuartile.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-upperQuartile.nii.gz -sub /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-lowerQuartile.nii.gz -div 1.34897950039 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-temporalSD.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz -Tar1 /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-temporalAR.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-temporalAR.nii.gz -mul -1 -add 1 -mul 2 -sqrt -mul /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-temporalSD.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-predictedSD.nii.gz
- - -
>> fslstats /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-predictedSD.nii.gz -k /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-referenceVolumeBrain.nii.gz -M
- - -
>> fslnvols /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz
- - -
>> fslroi /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t-1.nii.gz 0 123
- - -
>> fslroi /data/xcp_output/sub-1/regress/sub-1_residualised.nii.gz /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t.nii.gz 1 124
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t.nii.gz -sub /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t-1.nii.gz -sqr /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-tdiff-sq.nii.gz
- - -
>> fslmaths /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t.nii.gz -sub /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-t-1.nii.gz -div /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-predictedSD.nii.gz -sqr /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-tdiff-vox-std.nii.gz
- - -
>> fslstats -t /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-tdiff-sq.nii.gz -k /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-referenceVolumeBrain.nii.gz -M
- - -
>> rm -f /data/xcp_output/sub-1/qcfc/sub-1_dvars-raw.1D
- - -
>> rm -f /data/xcp_output/sub-1/qcfc/sub-1_dvars-std.1D
- - -
>> rm -f /data/xcp_output/sub-1/qcfc/sub-1_dvars-vox.1D
- - -
>> fslstats -t /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-dvars-tdiff-vox-std.nii.gz -k /data/xcp_output/sub-1/qcfc/sub-1~TEMP~-referenceVolumeBrain.nii.gz -M
- - -
>> ${XCPEDIR}/utils/1dTool.R -i /data/xcp_output/sub-1/qcfc/sub-1_dvars-std.1D -o mean -f /data/xcp_output/sub-1/qcfc/sub-1_dvars-mean.txt
- - -
>> cp /data/xcp_output/sub-1/confound2/mc/sub-1_relRMS.1D /data/xcp_output/sub-1/qcfc/sub-1~TEMP~_rms.1D
- - -
>> ${XCPEDIR}/utils/featureCorrelation.R -i /data/xcp_output/sub-1/qcfc/sub-1_dvars-std.1D,/data/xcp_output/sub-1/qcfc/sub-1~TEMP~_rms.1D
····································································
Processing step complete:
Estimating post-processing DVARS
Module Workflow Map
····································································
· START
· @1
· @1.1
· @1.2
· @2
· @2.1
· @2.2
· @2.4
· @3
· @3.1
· @3.2
· @4
· @4.1
· @4.3
· @4.4
· @5
· @5.1
· FINISH
····································································
Module complete
generating report
/xcpEngine/core/report.py:351: UserWarning: loadtxt: Empty input file: "/data/xcp_output/sub-1/fcon/HarvardOxford/sub-1_HarvardOxford_ts.1D"
prefix+'_'+ii+'_ts.1D')
/usr/local/miniconda/lib/python3.7/site-packages/numpy/lib/function_base.py:393: RuntimeWarning: Mean of empty slice.
avg = a.mean(axis)
/usr/local/miniconda/lib/python3.7/site-packages/numpy/core/_methods.py:154: RuntimeWarning: invalid value encountered in true_divide
ret, rcount, out=ret, casting='unsafe', subok=False)
/usr/local/miniconda/lib/python3.7/site-packages/numpy/lib/function_base.py:2526: RuntimeWarning: Degrees of freedom <= 0 for slice
c = cov(x, y, rowvar)
/usr/local/miniconda/lib/python3.7/site-packages/numpy/lib/function_base.py:2455: RuntimeWarning: divide by zero encountered in true_divide
c *= np.true_divide(1, fact)
/usr/local/miniconda/lib/python3.7/site-packages/numpy/lib/function_base.py:2455: RuntimeWarning: invalid value encountered in multiply
c *= np.true_divide(1, fact)
Traceback (most recent call last):
File "/xcpEngine/core/report.py", line 356, in <module>
vmax=1, vmin=-1, axes=axs)
File "/usr/local/miniconda/lib/python3.7/site-packages/nilearn/plotting/matrix_plotting.py", line 142, in plot_matrix
cmap=cmap, **kwargs)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/__init__.py", line 1565, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 358, in wrapper
return func(*args, **kwargs)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 358, in wrapper
return func(*args, **kwargs)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 5626, in imshow
im.set_data(X)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/image.py", line 699, in set_data
.format(self._A.shape))
TypeError: Invalid shape () for image data
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ ANALYSIS COMPLETE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
if you want qcfc to tun completely, you have to include confound2_framewise[2]=fds:0.04,dv:2
in the design file to get necessary parameters. I am not sure if you need that.
I'm trying to run the anat-antsct.dsn design on a single subject and antsCorticalThickness.sh is failing with nonzero code 139.
This error is occurring when running on an HPC via the latest Singularity image of xcpEngine. For context, the fmriprep output is from version 20.1.1. If this is important, I do not have sudo privileges on this machine and the image was built by someone with higher privileges. We have been trying different versions of the xcpEngine both on the HPC with Singularity and on a workstation with Docker and have encountered failure during antsCorticalThickness in both settings. Any help on getting this to run on the HPC would be very much appreciated.