Hello,
I'm having trouble running ClustExp_StatParse.py.
The below is my code.
ClustExp_StatParse.py -StatDSET stats.ttest+tlrc. -MeanBrik 0 -ThreshBrik 0 -SubjDSET All_clust+tlrc. -SubjTable header_was_the_problem.csv -master ~/abin/MNI_avg152T1+tlrc.
And this is the output.
Resampling master to subject data.
-- will fix any bad char check errors in /data2/open_data/ADNI/ADNI3/Group127/subject_analysis/left_pcc/group_results/test.002.3dttest++/test.results/MyOutput_ClustExp_shiny/data/MyOutput_CleanSubjTab.1D
** non-Unix check output file '/data2/open_data/ADNI/ADNI3/Group127/subject_analysis/left_pcc/group_results/test.002.3dttest++/test.results/MyOutput_ClustExp_shiny/data/MyOutput_CleanSubjTab.1D' exists, will overwrite
-- will fix any non-Unix check errors in /data2/open_data/ADNI/ADNI3/Group127/subject_analysis/left_pcc/group_results/test.002.3dttest++/test.results/MyOutput_ClustExp_shiny/data/MyOutput_CleanSubjTab.1D
Failed to find attribute BRICK_STATAUX with sub-brick selection.
Since BRICK_STATAUX exists in stats.ttest+tlrc. then it is an attribute that
is not preserved with sub-brick selection.
Traceback (most recent call last):
File "/home/bspl/abin/ClustExp_StatParse.py", line 457, in <module>
dof = subprocess.check_output(dof_cmd,shell=True)
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '3dAttribute BRICK_STATAUX stats.ttest+tlrc.[0]' returned non-zero exit status 1
I'm struggling to understand this part "Failed to find attribute BRICK_STATAUX with sub-brick selection."
My output from 3dttest++:
3dinfo stats.ttest+tlrc.
++ 3dinfo: AFNI version=AFNI_19.2.01 (Jul 3 2019) [64-bit]
Dataset File: stats.ttest+tlrc
Identifier Code: AFN_7MQa8nMfzBhFl6bnXJEQ9g Creation Date: Tue Jul 23 14:02:24 2019
Template Space: MNI
Dataset Type: Func-Bucket (-fbuc)
Byte Order: LSB_FIRST [this CPU native = LSB_FIRST]
Storage Mode: BRIK
Storage Space: 11,126,952 (11 million) bytes
Geometry String: "MATRIX(-2.5,0,0,90,0,-2.5,0,125.5,0,0,2.5,-72):73,87,73"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]
R-to-L extent: -90.000 [R] -to- 90.000 [L] -step- 2.500 mm [ 73 voxels]
A-to-P extent: -89.500 [A] -to- 125.500 [P] -step- 2.500 mm [ 87 voxels]
I-to-S extent: -72.000 -to- 108.000 [S] -step- 2.500 mm [ 73 voxels]
Number of values stored at each pixel = 6
-- At sub-brick #0 'control-MCI_mean' datum type is float: -0.397327 to 0.550301
-- At sub-brick #1 'control-MCI_Zscr' datum type is float: -4.26816 to 4.46619
statcode = fizt
-- At sub-brick #2 'control_mean' datum type is float: -0.273747 to 2.14475
** For info on all 6 sub-bricks, use '3dinfo -verb' **
Thank you.