-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concat_blips #2706
Comments
I obtain the identical error about 40% of time when using v21.0.0 or v21.0.1 via Singularity. |
Could you share the affine matrices of your fieldmap and BOLD files? |
FMAPS
Data_type INT16
dim1 90
dim2 90
dim3 60
dim4 2
datatype 4
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 7.400000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
{
"PhaseEncodingPolarityGE": "Flipped",
"InPlanePhaseEncodingDirectionDICOM": "COL",
"TriggerDelayTime": 14677,
"ProcedureStepDescription": "test",
"DeviceSerialNumber": "000212543Premier",
"AcquisitionMatrixPE": 90,
"ImageOrientationPatientDICOM": [
0.990316,
-0.049657,
0.129647,
0.0735749,
0.979641,
-0.186787
],
"EffectiveEchoSpacing": 0.000588,
"TotalReadoutTime": 0.052332,
"ManufacturersModelName": "SIGNA Premier",
"ProtocolName": "FUNC_TOPUP_FPE",
"RepetitionTime": 7.4,
"SeriesNumber": 8,
"MRAcquisitionType": "2D",
"CoilString": "48HAP",
"SliceThickness": 2.4,
"AcquisitionNumber": 1,
"InstitutionName": "New York State Psychiatric Inst",
"BodyPartExamined": "HEAD",
"IntendedFor": [
"ses-21117/func/sub-test03gold_ses-21117_task-rest_run-01_bold.nii.gz"
],
"SAR": 0.222944,
"PixelBandwidth": 5555.56,
"ScanningSequence": "EP\\RM",
"Manufacturer": "GE",
"ConversionSoftware": "dcm2niix",
"PercentPhaseFOV": 100,
"ReconMatrixPE": 90,
"FlipAngle": 90,
"SeriesDescription": "FUNC_TOPUP_FPE",
"ConversionSoftwareVersion": "v1.0.20201102",
"InternalPulseSequenceName": "EPI",
"PatientPosition": "HFS",
"MagneticFieldStrength": 3,
"PercentSampling": 100,
"SpacingBetweenSlices": 2.4,
"ImageType": [
"ORIGINAL",
"PRIMARY",
"OTHER"
],
"EchoTime": 0.08,
"SequenceVariant": "NONE",
"SliceTiming": [
0,
3.7,
0.123333,
3.82333,
0.246667,
3.94667,
0.37,
4.07,
0.493333,
4.19333,
0.616667,
4.31667,
0.74,
4.44,
0.863333,
4.56333,
0.986667,
4.68667,
1.11,
4.81,
1.23333,
4.93333,
1.35667,
5.05667,
1.48,
5.18,
1.60333,
5.30333,
1.72667,
5.42667,
1.85,
5.55,
1.97333,
5.67333,
2.09667,
5.79667,
2.22,
5.92,
2.34333,
6.04333,
2.46667,
6.16667,
2.59,
6.29,
2.71333,
6.41333,
2.83667,
6.53667,
2.96,
6.66,
3.08333,
6.78333,
3.20667,
6.90667,
3.33,
7.03,
3.45333,
7.15333,
3.57667,
7.27667
],
"ImagingFrequency": 127.758,
"PulseSequenceName": "epi",
"PhaseEncodingDirection": "j",
"ScanOptions": "SAT_GEMS\\MP_GEMS\\EPI_GEMS\\FS",
"Dcm2bidsVersion": "2.1.4",
"SoftwareVersions": "28\\LX\\MR Software release:RX28.0_R05_2035.a",
"StationName": "GEOCGEOC",
"Modality": "MR",
"AcquisitionTime": "15:38:35.000000"
BOLD
data_type INT16
dim1 90
dim2 90
dim3 60
dim4 525
datatype 4
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 0.800000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
{
"PhaseEncodingPolarityGE": "Flipped",
"InPlanePhaseEncodingDirectionDICOM": "COL",
"TriggerDelayTime": 419840,
"ProcedureStepDescription": "test",
"DeviceSerialNumber": "000212543Premier",
"AcquisitionMatrixPE": 90,
"ImageOrientationPatientDICOM": [
0.990316,
-0.0496571,
0.129647,
0.073575,
0.979641,
-0.186787
],
"EffectiveEchoSpacing": 0.000652,
"TotalReadoutTime": 0.058028,
"ManufacturersModelName": "SIGNA Premier",
"ProtocolName": "FUNC_Rest_1_MUX6",
"RepetitionTime": 0.8,
"MultibandAccelerationFactor": 6,
"SeriesNumber": 10,
"MRAcquisitionType": "2D",
"CoilString": "48HAP",
"SliceThickness": 2.4,
"AcquisitionNumber": 1,
"InstitutionName": "New York State Psychiatric Inst",
"BodyPartExamined": "HEAD",
"SAR": 0.0770333,
"PixelBandwidth": 5555.56,
"ScanningSequence": "EP\\RM",
"Manufacturer": "GE",
"ConversionSoftware": "dcm2niix",
"PercentPhaseFOV": 100,
"ReconMatrixPE": 90,
"FlipAngle": 52,
"SeriesDescription": "FUNC_Rest_1_MUX6",
"ConversionSoftwareVersion": "v1.0.20201102",
"InternalPulseSequenceName": "EPI",
"PatientPosition": "HFS",
"MagneticFieldStrength": 3,
"TaskName": "FUNC_Rest_1_MUX6",
"PercentSampling": 100,
"SpacingBetweenSlices": 2.4,
"ImageType": [
"ORIGINAL",
"PRIMARY",
"OTHER"
],
"EchoTime": 0.03,
"SequenceVariant": "NONE",
"SliceTiming": [
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64,
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64,
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64,
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64,
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64,
0,
0.4,
0.08,
0.48,
0.16,
0.56,
0.24,
0.72,
0.32,
0.64
],
"ImagingFrequency": 127.758,
"PulseSequenceName": "epi",
"PhaseEncodingDirection": "j",
"ScanOptions": "SAT_GEMS\\EDR_GEMS\\MP_GEMS\\EPI_GEMS\\HYPERBAND_GEMS\\PFF\\FS",
"Dcm2bidsVersion": "2.1.4",
"SoftwareVersions": "28\\LX\\MR Software release:RX28.0_R05_2035.a",
"StationName": "GEOCGEOC",
"Modality": "MR",
"AcquisitionTime": "15:40:26.000000"
From: Chris Markiewicz ***@***.***>
Date: Tuesday, February 8, 2022 at 8:34 AM
To: nipreps/fmriprep ***@***.***>
Cc: Sanchez, Juan (NYSPI) ***@***.***>, Author ***@***.***>
Subject: Re: [nipreps/fmriprep] concat_blips (Issue #2706)
ATTENTION: This email came from an external source. Do not open attachments or click on links from unknown senders or unexpected emails.
Could you share the affine matrices of your fieldmap and BOLD files?
—
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnipreps%2Ffmriprep%2Fissues%2F2706%23issuecomment-1032614954&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Cd18f8a333b474432c40108d9eb07b250%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799240562521020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9pPx9OrEGCFY1w8PdTZCtSnk8Zo6Gd5K5qNFKqkPbOg%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FARKALFACXFLBICPOZQMQHM3U2ELVLANCNFSM5NX5HWWQ&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Cd18f8a333b474432c40108d9eb07b250%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799240562521020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9bQT7SIe1yezVSJXKtVhAqn7VOpTV1CJG35g3ZPA3kQ%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Cd18f8a333b474432c40108d9eb07b250%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799240562521020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=saPQzd4ADRJhapSn0ziFvz2w4MfTHaYjtC05tnzpczU%3D&reserved=0> or Android<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Cd18f8a333b474432c40108d9eb07b250%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799240562521020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=FExO2h7nBjaCXr63nmJ8Jl2aTYR67vIRbAWUMj0BfqU%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
No affine matrices are present in this data. You can use |
FMAP:
filename sub-test03gold_ses-21117_acq-func_dir-fpe_epi.nii.gz
sizeof_hdr 348
data_type INT16
dim0 4
dim1 90
dim2 90
dim3 60
dim4 2
dim5 1
dim6 1
dim7 1
vox_units mm
time_units s
datatype 4
nbyper 2
bitpix 16
pixdim0 0.000000
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 7.400000
pixdim5 0.000000
pixdim6 0.000000
pixdim7 0.000000
vox_offset 352
cal_max 0.0000
cal_min 0.0000
scl_slope 1.000000
scl_inter 0.000000
phase_dim 2
freq_dim 1
slice_dim 3
slice_name Unknown
slice_code 0
slice_start 0
slice_end 0
slice_duration 0.000000
time_offset 0.000000
intent Unknown
intent_code 0
intent_name
intent_p1 0.000000
intent_p2 0.000000
intent_p3 0.000000
qform_name Scanner Anat
qform_code 1
qto_xyz:1 -2.376758 0.176580 0.282559 88.406891
qto_xyz:2 0.119177 2.351140 -0.466841 -108.382652
qto_xyz:3 0.311154 0.448289 2.337139 -97.876495
qto_xyz:4 0.000000 0.000000 0.000000 1.000000
qform_xorient Right-to-Left
qform_yorient Posterior-to-Anterior
qform_zorient Inferior-to-Superior
sform_name Scanner Anat
sform_code 1
sto_xyz:1 -2.376759 0.176580 0.282557 88.406891
sto_xyz:2 0.119177 2.351139 -0.466841 -108.382652
sto_xyz:3 0.311152 0.448289 2.337139 -97.876495
sto_xyz:4 0.000000 0.000000 0.000000 1.000000
sform_xorient Right-to-Left
sform_yorient Posterior-to-Anterior
sform_zorient Inferior-to-Superior
file_type NIFTI-1+
file_code 1
descrip TE=80;Time=153835.000
aux_file
FUNC
filename sub-test03gold_ses-21117_task-rest_run-01_bold.nii.gz
sizeof_hdr 348
data_type INT16
dim0 4
dim1 90
dim2 90
dim3 60
dim4 525
dim5 1
dim6 1
dim7 1
vox_units mm
time_units s
datatype 4
nbyper 2
bitpix 16
pixdim0 0.000000
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 0.800000
pixdim5 0.000000
pixdim6 0.000000
pixdim7 0.000000
vox_offset 352
cal_max 0.0000
cal_min 0.0000
scl_slope 1.000000
scl_inter 0.000000
phase_dim 2
freq_dim 1
slice_dim 3
slice_name Unknown
slice_code 0
slice_start 0
slice_end 0
slice_duration 0.000000
time_offset 0.000000
intent Unknown
intent_code 0
intent_name
intent_p1 0.000000
intent_p2 0.000000
intent_p3 0.000000
qform_name Scanner Anat
qform_code 1
qto_xyz:1 -2.376759 0.176580 0.282555 88.406898
qto_xyz:2 0.119177 2.351140 -0.466841 -108.382652
qto_xyz:3 0.311150 0.448289 2.337140 -97.876450
qto_xyz:4 0.000000 0.000000 0.000000 1.000000
qform_xorient Right-to-Left
qform_yorient Posterior-to-Anterior
qform_zorient Inferior-to-Superior
sform_name Scanner Anat
sform_code 1
sto_xyz:1 -2.376759 0.176580 0.282557 88.406898
sto_xyz:2 0.119177 2.351139 -0.466841 -108.382652
sto_xyz:3 0.311152 0.448289 2.337139 -97.876450
sto_xyz:4 0.000000 0.000000 0.000000 1.000000
sform_xorient Right-to-Left
sform_yorient Posterior-to-Anterior
sform_zorient Inferior-to-Superior
file_type NIFTI-1+
file_code 1
descrip TE=30;Time=154026.000;mb=6
aux_file
From: Chris Markiewicz ***@***.***>
Date: Tuesday, February 8, 2022 at 11:11 AM
To: nipreps/fmriprep ***@***.***>
Cc: Sanchez, Juan (NYSPI) ***@***.***>, Author ***@***.***>
Subject: Re: [nipreps/fmriprep] concat_blips (Issue #2706)
ATTENTION: This email came from an external source. Do not open attachments or click on links from unknown senders or unexpected emails.
No affine matrices are present in this data. You can use fslhd or mri_info or if you have nibabel installed in your Python environment: python -c "import sys; import nibabel as nb; print(nb.load(sys.argv[1]).header)" $FILENAME.
—
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnipreps%2Ffmriprep%2Fissues%2F2706%23issuecomment-1032793445&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Ccb145a34f0ce4a8b6df108d9eb1d9c29%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799334671396023%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2Fj9qSOhe3e90ex9Q1xXJOLD6POR%2FxTzk6q9ftAFIt4M%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FARKALFECDG5CDF3JGO46WATU2E6BTANCNFSM5NX5HWWQ&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Ccb145a34f0ce4a8b6df108d9eb1d9c29%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799334671396023%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pfPjyVlkCsBUfbaV33scgDDlNZCWZsQTd1D0W19TJhs%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Ccb145a34f0ce4a8b6df108d9eb1d9c29%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799334671396023%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0eqj48Q9a2bkEEQZKF3PYl0CueixEAww%2FmUB5F%2BP14s%3D&reserved=0> or Android<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CJuan.Sanchez%40nyspi.columbia.edu%7Ccb145a34f0ce4a8b6df108d9eb1d9c29%7Cf46cb8ea79004d108ceb80e8c1c81ee7%7C0%7C0%7C637799334671396023%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=69CxWd%2F4nEALIEDIQN2QfLnhS6dljyR8Dx8AfjT0IeU%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It looks like there are some differences in your sforms, but they are close enough that we should probably relax our constraint. |
Hi I noticed a similar error on a dataset where there was a tiny difference (in the fifth decimal in one component of the affine matrix!) between the two affines for the two For now, the workaround I used was to use |
So what is the current work-around to run fMRIprep 21.0.1 with very slight differences in the affine matrix of images ? (I get the same error message as the affine matrix of my first image is slightly different from the affine of my 8th image) |
@MarcoB-MD we just released |
@mgxd Thanks Mathias - 21.0.2 seems to be working fine now. |
i just ran into this same issue in v22.0.0 .. the same data ran in 21.0.2 without the concat_blips error.
|
Just adding a +1 to above comment I upgraded from 20.1.0 to 22.0.0 and there are several participants who ran without error in the earlier version who are now giving the same error as above in the most recent version. @cmpetty did you figure out any approach to deal with this, or plan to re-open the issue? |
Hi, please open a new issue. In general, comments on closed issues will not be as visible to us. |
I edited site-packages/niworkflows/interfaces/nibabel.py to include the fix from here, which seemed to be missing in v22.0.0: https://github.com/nipreps/niworkflows/pull/706
|
What happened?
I am unable to produce func results for a data that looks standard.
What command did you use?
/usr/local/pipelines/subfmri-arg_latest -i /MRI_DATA/nyspi/test/rawdata -o /MRI_DATA/nyspi/test/derivatives -l /MRI_DATA/nyspi/test/derivatives/fmriprep/logs/gold.log -a "--participant-label test03gold --output-spaces T1w MNI152NLin2009cAsym:res-2 --cifti-output --output-layout legacy”
What version of fMRIPrep are you running?
21.0
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
RAWDATA:
anat:
sub-test03gold_ses-21117_acq-cubepromo_T2w.json sub-test03gold_ses-21117_acq-nopromo_T1w.json
sub-test03gold_ses-21117_acq-cubepromo_T2w.nii.gz sub-test03gold_ses-21117_acq-nopromo_T1w.nii.gz
fmap:
sub-test03gold_ses-21117_dir-fpe_epi.json sub-test03gold_ses-21117_dir-rpe_epi.json
sub-test03gold_ses-21117_dir-fpe_epi.nii.gz sub-test03gold_ses-21117_dir-rpe_epi.nii.gz
func:
sub-test03gold_ses-21117_task-rest_run-01_bold.json sub-test03gold_ses-21117_task-rest_run-01_bold.nii.gz
This same raw data went through abcd
The text was updated successfully, but these errors were encountered: