Closed yvonnio closed 5 years ago
Hi @yvonnio , it look like the time series is missing and I noticed you have ran this subject before, possible not complete it. Can you clear the previous output and start afresh?
Thanks for the quick reply! I removed all the xcp output files (in my case: rm -rf $fmri_rs_dir/output/xcp/*
) and then re-ran xcp using singularity. Here's my new error log:
[Detected that xcp is in a container]
Received options: -c /dagher/dagher11/yyau/urgency/fmri_rs/data_bids/cohort.csv -d /dagher/dagher11/yyau/urgency/fmri_rs/scripts/xcp_fc-36p_spkreg_yvonne.dsn -i /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf -o /dagher/dagher11/yyau/urgency/fmri_rs/output/xcp -r /dagher/dagher11/yyau/urgency/fmri_rs/output/fmriprep
$XCPEDIR is /xcpEngine
Constructing a pipeline based on user specifications
····································································
· [D][/dagher/dagher11/yyau/urgency/fmri_rs/scripts/xcp_fc-36p_spkreg_yvonne.dsn]
· [I][/dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf]
· [C][/dagher/dagher11/yyau/urgency/fmri_rs/data_bids/cohort.csv]
· [O][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp]
· [M][Executing serially]
····································································
Checking general dependencies
····································································
· Version AFNI AFNI_19.1.18
· Version ANTs 3.0.0.0
· Version FSL fsl-5.0.10
· Version C3D 1.1.0
· Version JQ jq-1.5
· Version XCP Engine xcpEngine-v1.0
· R version 3.3.3
· R scripting front-end 3.3.3
· · RNifti version 0.10.0
· · optparse version 1.6.2
· · pracma version 2.2.5
· · signal version 0.7.6
····································································
All general dependencies are present.
Checking environment
All environmental variables are defined.
Checking module-specific dependencies
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ XCP ★ ★ ★ ENGINE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
CURRENTLY PROCESSING MODULE:
★ LOCALISER ★
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[Delegating control to module]
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ XCP ENGINE LOCALISER ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
Current processing step:
Localising subject metadata...
····································································
· [Parsing subject identifiers]
· [Creating output directory]
· [/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001]
· [Initialising space mapping]
· [Initialising derivative maps]
· [Initialising atlas system]
· Ingress
· [Native space: sub-9001_anatomical]
· [Standard space: MNI]
· [Anatomical space: sub-9001_anatomical]
source space map '' is not an image
· [Priming analytic audit]
· [Priming quality assessment]
····································································
Processing step complete:
Localising subject metadata...
Current processing step:
Localising image
····································································
· [Verifying that images are present]
· [Conforming and localising images]
····································································
Processing step complete:
Localising image
Current processing step:
Localising design
····································································
· [Writing localised design]
· [Evaluating subject variables]
····································································
Processing step complete:
Localising design
Localiser complete
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
CURRENTLY PROCESSING MODULE:
★ prestats ★
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[Delegating control to module]
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ FMRI PREPROCESSING MODULE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[I][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/sub-9001.nii.gz]
[O][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/prestats]
Current processing step:
Ensure matching orientation
····································································
· Input: /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-prestats-359044614~TEMP~.nii.gz
· Template: /xcpEngine/space/MNI/MNI-2x2x2.nii.gz
· Output root:
· checking the orientation of img and template
NATIVE:LPI TEMPLATE:RPI
· img and template orientation are not the same
· make it: LPI -> RPI
Current processing step:
getting data from fmriprep directory
····································································
· generate new /dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/sub-9001_spaces.json with spaceMetadata
· Quality assessment
· [Cross-correlation: 0.9790804 ]
· [Coverage: 0.9989878 ]
· [Jaccard coefficient: 0.9748687 ]
· [Dice coefficient: 0.9872744 ]
····································································
Processing step complete:
getting data from fmriprep directory
Module complete
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
CURRENTLY PROCESSING MODULE:
★ confound2 ★
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[Delegating control to module]
###################################################################
# · · · · · · · · · · · · · · · · · · · · · #
# #
# · CONFOUND MODEL MODULE · #
# #
# · · · · · · · · · · · · · · · · · · · · · #
###################################################################
[I][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/sub-9001.nii.gz]
[O][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/confound2]
Current processing step:
Generating confound matrix
····································································
· Generating temporal mask
· [Computing framewise displacement]
· [Selecting quality criteria]
· [Quality criterion: rel_rms < .04314000]
· [Quality criterion: dvars < 2]
· [Applying framewise threshold to time series]
· [Evaluating data quality]
· relative maximum motion
· relative mean motion
The nuisance matrix is being selected base on design files
· Including realignment parameters
· Including csf
· Including gsr
· Including wm
· [Including 1 derivative(s)]
· [Including 2 power(s)]
····································································
Processing step complete:
Generating confound matrix
Current processing step:
Validating confound model
····································································
····································································
Processing step complete:
Validating confound model
Module complete
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
CURRENTLY PROCESSING MODULE:
★ regress ★
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[Delegating control to module]
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ CONFOUND REGRESSION MODULE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
[I][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/sub-9001.nii.gz]
[O][/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/regress]
Design files
0.719000
Current processing step:
Temporally filtering image and confounds
····································································
· [butterworth filter]
· [High pass frequency: 0.01]
· [Low pass frequency: 0.08]
· Interpolating over masked-out epochs...
· This will be slow
/dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~.nii.gz
Voxel bin 1 out of 65
/xcpEngine/core/functions/exec_xcp: line 1: 30231 Killed ${XCPEDIR}/utils/"${@}"
Error in dumpNifti(impath) :
Failed to read image from path /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~_TMP_interpol.nii.gz
Calls: dumpNifti -> .Call
In addition: Warning message:
In dumpNifti(impath) :
nifti_image_read: failed to find header file for '/dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~_TMP_interpol.nii.gz'
Execution halted
· [A major error has occurred.]
· [The processing stream will now abort.]
· [Preparing diagnostics]
····································································
Module Workflow Map
····································································
· START
· @0.1
· @2
· @2.2
· @2.3
· @2.4.1
· @2.5
· @2.6
· @2.8
· @2.12a
· @2.12b
· @2.12c
· ERROR
····································································
····································································
· [An error occurred while processing module regress.]
· [The error was detected at signpost @2.12c.]
· [The most recent command logged was]
· [tfilter -i /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~.nii.gz -o /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~_TMP.nii.gz -a 0.719000 -f butterworth -h 0.01 -l 0.08 -m /dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/prestats/sub-9001_mask.nii.gz -n /dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/confound2/mc/sub-9001_tmask.1D -r 1 -d 2 -1 confmat:/dagher/dagher11/yyau/urgency/fmri_rs/output/xcp/sub-9001/confound2/sub-9001_confmat.1D]
· [For additional details, view the processing log. For improved]
· [diagnostics, increment verbosity using the -t option.]
· []
· [Processing failed to produce required output: /dagher/dagher11/yyau/urgency/fmri_rs/workingdir/xcp_wf/sub-9001-regress-225596380~TEMP~_TMP.nii.gz]
· []
· [stream abort]
····································································
generating report
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
# #
# ⊗ ANALYSIS COMPLETE ⊗ #
# #
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
There are issues with your memory and runtime Also, the framewise threshold you selected is to low for TR of 0.719s pls check: https://xcpengine.readthedocs.io/modules/regress.html?highlight=TEmporal%20censoring#temporal-censoring
Also, the framewise threshold you selected is to low for TR of 0.719s pls check: https://xcpengine.readthedocs.io/modules/regress.html?highlight=TEmporal%20censoring#temporal-censoring
You're right! This was my mistake. So based on using a required threshold of 0.25mm (Satterthwaite et al. 2013), I presume my fds should be calculated as follows:
fds*TR=0.25
fds=0.25/0.719
fds~=0.347
Now if I update my pipeline to include confound2_framewise[2]=rmss:0.347,dv:2
it seems to all run smoothly with no memory or runtime issue.
Describe the bug What were you trying to do when the crash happened? Regress module crashes, seems to be failing at tfilter.
Cohort file Paste cohort file between the triple backticks
Design File Paste your entire design (
.dsn
) file between the triple backticksError message Paste your error message between the backticks
Runtime Information How were you running the software? Docker? Singularity? Directly? If Directly, please consider using Docker or Singluarity first before submitting a bug report. Singularity
Additional context Add any other context about the problem here. Singularity command is: