PennLINC / xcpEngine

Official public repository for the XCP Engine. This tool is deprecated in favor of XCP-D and ASLPrep.
MIT License
66 stars 42 forks source link

FSL Feat error for Task regression #403

Closed bdeck8317 closed 3 years ago

bdeck8317 commented 3 years ago

Describe the bug @a3sha2, found an issue when running Task Regression

Task regression breaks with a child process issue Specifically, at this step Current processing step: @2 Executing FEAT analysis

Cohort file

id0,id1,study,run,img,task_design
sub-DP5003,ses-NavonRealStim,NavonLow,run-1,/fmriprep_out/fmriprep/sub-DP5003/ses-NavonRealStim/func/sub-DP5003_ses-NavonRealStim_task-NavonLow_run-1_space-T1w_desc-preproc_bold.nii.gz,task_designs/template.fsf

Design File

#!/usr/bin/env bash

###################################################################
#  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  �^�^�  #
###################################################################

###################################################################
# This design file stores the values of all variables required to
# execute a complete neuroimage processing pipeline. You may
# execute the analysis specified in this design file by calling
# (in any v4 or higher bash terminal):
#
# xcpEngine <file>.dsn
#
# Variables fall into five general categories:
# * ANALYSIS VARIABLES are used at all stages of this analysis.
# * PIPELINE specifies the modules that comprise the analysis.
# * MODULE VARIABLES are used during one stage of the analysis.
#                  These are typically array variables with array
#                  indices equal to the index of the module that
#                  calls them.
# * OUTPUT VARIABLES may be used at all stages of the analysis.
#                  These are typically array variables with array
#                  indices equal to the value of the primary
#                  subject identifier. They will appear only in
#                  localised design files.
###################################################################

###################################################################
# ANALYSIS VARIABLES
###################################################################

analysis=task_root
design=/data/task_designs/task_fcon.dsn
sequence=anatomical
standard=MNI%2x2x2
###################################################################
# PIPELINE
###################################################################

pipeline=task,fcon,reho,alff,roiquant,norm

###################################################################
# 1 TASK
###################################################################

task_design[1]=template.fsf
task_fmriprep[1]=1
task_rpsd[1]=6
task_rerun[1]=Y
task_cleanup[1]=Y
task_vol2del[1]=0  # first N volume to be deleted -- none in this case
task_confound[1]='36p' # including acompcor parameters

###################################################################
# 2 FCON
###################################################################

fcon_atlas[2]=all
fcon_metric[2]=corrcoef
fcon_thr[2]=N
fcon_pad[2]=FALSE
fcon_rerun[2]=0
fcon_cleanup[2]=1
###################################################################
# 3 REHO
###################################################################

reho_nhood[3]=vertices
reho_roikw[3]=0 # does nothing at the moment
reho_sptf[3]=susan
reho_smo[3]=6
reho_rerun[3]=0
reho_cleanup[3]=1

###################################################################
# 4 ALFF
###################################################################

alff_hipass[4]=0.01
alff_lopass[4]=0.08
alff_sptf[4]=susan
alff_smo[4]=6
alff_rerun[4]=0
alff_cleanup[4]=1

###################################################################
# 5 ROIQUANT
###################################################################

roiquant_atlas[5]=all
roiquant_globals[5]=1
roiquant_vol[5]=0
roiquant_rerun[5]=0
roiquant_cleanup[5]=1

###################################################################
# 6 NORM
###################################################################

norm_rerun[6]=0
norm_cleanup[6]=1

Error message

Current processing step:
@2 Executing FEAT analysis
····································································
· @2.1 Preparing environment
                            -   -   -
>> rm -rf /data/xcpOutput/task_data/pre/sub-DP5003/ses-NavonRealStim/task/fsl/sub-DP5003_ses-NavonRealStim.feat
· @2.2a Processing FEAT design:
· @2.2b /data/xcpOutput/task_data/pre/sub-DP5003/ses-NavonRealStim/task/model/sub-DP5003_ses-NavonRealStim_design.fsf
                             -   -   -
>> feat /data/xcpOutput/task_data/pre/sub-DP5003/ses-NavonRealStim/task/model/sub-DP5003_ses-NavonRealStim_design.fsf
child process exited abnormally

    while executing

"fsl:exec "${FSLDIR}/bin/feat_model design" $fmri(featModelOpts) -N feat0_model -l logs "

    (procedure "firstLevelMaster" line 43)

    invoked from within

"firstLevelMaster $session"

    invoked from within

"if { $done_something == 0 } {

    if { ! $fmri(inmelodic) } {

       if { $fmri(level) == 1 } {

              for { set session 1 } { $session <= $fmri(mult..."

    (file "/opt/fsl-5.0.10/bin/feat" line 390)

····································································
Processing step complete:
Executing FEAT analysis

Runtime Information Docker

screen docker run -it -m 16g --cpus='8' \
    -v /Users/neurouser1/Documents/DP5/xcp/:/data \
    -v /Users/neurouser1/Documents/DP5/scratch/:/tmp \
    pennbbl/xcpengine:latest \
    -c /data/cohorts/DP5_task_cohort_003.csv \
    -d /data/task_designs/task_fcon.dsn \
    -o /data/xcpOutput/task_data/pre \
    -i /data/xcpOutput/task_data/pre/tmp \
    -t 1 \
    -r /data/

Additional context Here is my log file, note that I killed the job after hitting the above error. 003_logs.txt

Thanks!

a3sha2 commented 3 years ago

check the *.fsf and event files if it can be seen by the singularity image