Hi Rick,
I have a few more bits of information for you that will hopefully help! First, I re-created the nifti files using dcm2nii in hopes that this might get rid of the timing issue. I still get the same error, but here are things I’ve tried and looked at:
- When I run the nifti_tool command you suggested I get the following:
tue50988@cla19097:/data/projects/STUDIES/SEAT/fMRI/afni/RawImagingData/s1562$ nifti_tool -disp_exts -infiles sub-s1562_task-seat_run-01_bold.nii.gz | grep -A 10 -B 5 TAXIS_OFFSETS
tue50988@cla19097:/data/projects/STUDIES/SEAT/fMRI/afni/RawImagingData/s1562$ nifti_tool -disp_exts -infiles sub-s1562_task-seat_run-01_bold.nii.gz
header file ‘sub-s1562_task-seat_run-01_bold.nii.gz’, num_ext = 0
- When I re-run 3dinfo -slice_timing on that nifti I get this:
tue50988@cla19097:/data/projects/STUDIES/SEAT/fMRI/afni/RawImagingData/s1562$ 3dinfo -slice_timing sub-s1562_task-seat_run-01_bold.nii.gz
** AFNI converts NIFTI_datatype=512 (UINT16) in file /data/projects/STUDIES/SEAT/fMRI/afni/RawImagingData/s1562/sub-s1562_task-seat_run-01_bold.nii.gz to FLOAT32
Warnings of this type will be muted for this session.
Set AFNI_NIFTI_TYPE_WARN to YES to see them all, NO to see none.
0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000
- I looked at all the files from pb00 to pb05 to see if they have the correct TR and measurements (e.g., number of TRs) and they do:
tue50988@cla19097:/data/projects/STUDIES/SEAT/fMRI/afni/IndvlLvlAnalyses/s1562/s1562.results.ClpsRspns_NL.1mm$ 3dinfo pb05.s1562.r01.scale+tlrc.BRIK.gz
++ 3dinfo: AFNI version=AFNI_20.3.03 (Dec 7 2020) [64-bit]
Dataset File: pb05.s1562.r01.scale+tlrc
Identifier Code: XYZ_IBjQY9dvJa_3K1NmRCMpBw Creation Date: Mon Jan 17 11:45:01 2022
Template Space: TT_N27
Dataset Type: Echo Planar (-epan)
Byte Order: LSB_FIRST [this CPU native = LSB_FIRST]
Storage Mode: BRIK
Storage Space: 115,430,400 (115 million) bytes
Geometry String: “MATRIX(3,0,0,-79.5,0,3,0,-79.5,0,0,3,-63.5):54,64,50”
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Anterior-to-Posterior
third (z) = Inferior-to-Superior [-orient RAI]
R-to-L extent: -79.500 [R] -to- 79.500 [L] -step- 3.000 mm [ 54 voxels]
A-to-P extent: -79.500 [A] -to- 109.500 [P] -step- 3.000 mm [ 64 voxels]
I-to-S extent: -63.500 [I] -to- 83.500 [S] -step- 3.000 mm [ 50 voxels]
Number of time steps = 167 Time step = 1.75000s Origin = 0.00000s
– At sub-brick #0 ‘sub-s1562_task-s[0]’ datum type is float: 0 to 129.629
– At sub-brick #1 ‘sub-s1562_task-s[1]’ datum type is float: 0 to 136.11
– At sub-brick #2 ‘sub-s1562_task-s[2]’ datum type is float: 0 to 123.041
** For info on all 167 sub-bricks, use ‘3dinfo -verb’ **
- I also looked at the 1D output files to see if they have the correct number of TRs and they do:
tue50988@cla19097:/data/projects/STUDIES/SEAT/fMRI/afni/IndvlLvlAnalyses/s1562/s1562.results.ClpsRspns_NL.1mm$ cat outcount.r01.1D | wc
167 167 1336
Looking at the script output, this appears to be where things are throwing a warning.
cat outcount.r01.1D outcount.r02.1D outcount.r03.1D
cat rm.out.cen.r01.1D rm.out.cen.r02.1D rm.out.cen.r03.1D
set minindex = 3dTstat -argmin -prefix - outcount_rall.1D\'
3dTstat -argmin -prefix - outcount_rall.1D’
++ 3dTstat: AFNI version=AFNI_20.3.03 (Dec 7 2020) [64-bit]
++ Authored by: KR Hammett & RW Cox
e[7m*+ WARNING:e[0m Input dataset is not 3D+time; assuming TR=1.0
set ovals = ( 1d_tool.py -set_run_lengths $tr_counts -index_to_run_tr $minindex
)
1d_tool.py -set_run_lengths 167 167 167 -index_to_run_tr 83
Given that we’ve confirmed that the input and output all specify a TR of 1.75, we’re stumped! Is it possible that this is a benign warning that’s not actually happening with these data?
Again I greatly greatly appreciate all your help on this!!!