[Loris-dev] BIDS - AcquisitionType

Morales Pinzon, Alfredo AMORALESPINZON at BWH.HARVARD.EDU
Tue Aug 17 12:38:18 EDT 2021


Hi Cécile,

Thank you for the explanation. I’ll check with the team if this changes is required for our project.

Best,
Alfredo.

On Aug 17, 2021, at 9:04 AM, Cecile Madjar <cecile.madjar at mcin.ca<mailto:cecile.madjar at mcin.ca>> wrote:


        External Email - Use Caution

Hi Alfredo,

I just verified the BIDS specification. The modality (aka acquisition type) is the last component of the file name, so in the case of the MT0 T2w, the t2w acquisition type is correct. What is stored behind the acq- string are actually acquisition parameters not the acquisition type per se.

If you really want to add the acq prefix to the scan type, you could always modify this line of code<https://secure-web.cisco.com/1_Mi0tGkwGZlsC_57j1f44QdA8RR5bpfcRJl1P5pDWTBiInJ_GWqb9syT49tK6o51AxJLJtwBNmpzBN3bQhvE_pjfHOiuYOKPeT3YUubJi_JXX731ZWY79KebVrJdBoyzREnIeb9c1T9JHLg_2TrmPxVCnrloRbAWzDJJshhsrR3Q3IJm8IjN2QbVOjsBvie5QlmMnBVBjCc1qW82vDI5bEqNVxXJ9yLNDaiAmzhZUeSHgEN_JMBHFSCU9zlB4g--byo7cedmGj5Xiri8LWMMSQ/https%3A%2F%2Fgithub.com%2Faces%2FLoris-MRI%2Fblob%2F15df82251e8011b263effebbf95104737bfc97b4%2Fpython%2Flib%2Fmri.py%23L282> so that it also takes the acq prefix when looking for a scan type?

Cécile

On Mon, Aug 16, 2021 at 3:51 PM Morales Pinzon, Alfredo <AMORALESPINZON at bwh.harvard.edu<mailto:AMORALESPINZON at bwh.harvard.edu>> wrote:
Dear LorisDev team,

I have a question regarding the AcquisitionType assigned to images imported using the BIDS functionality: how do you assign the AcquisitionType?

For some cases it looks good, but some it doesn’t match the “acq” label in BIDS:

Example of correct acquisition type:
===
        {
            "OutputType": "native",
            "Filename": "sub-BGK104001_ses-month36_run-2_T1w.nii.gz",
            "AcquisitionType": "T1w"
        }
===

Example of wrong acquisition type, in this case it should be MT0.
===
        {
            "OutputType": "native",
            "Filename": "sub-BGK104001_ses-month36_acq-MT0_run-1_T2w.nii.gz",
            "AcquisitionType": "t2w"
        },
===

Would it be possible to modify the way the acquisition types are being assigned so that it takes the “acq” label from BIDS?

Thank you for your help.

Best regards,
Alfredo.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline<http://secure-web.cisco.com/1ig3dr6i1WdAs8_-Q_MeK7GXwa0dgT1TgKI1JS7MC0k4yUeF62G6kVevDIHZj5n8tYT0kmV7nj6Fy6sEMEe-xDkf6WhZtm0M-v0uUlyhiKd_DcQ1aSPrfn2jxfJIreAitqwR42XMZb84w7G5WECzE46VWrQ3SZQgrrNHlOq19WKP-mKl5SKE-kGJwNUp4d3l-NeVnWGOTeEoLAx7yXW4HO4FcWICnHaw7zpvritbMeXJqEIaabeQmg8ZEyf_niv71lNvwche53TaBWI6any_S-g/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.

Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca<mailto:Loris-dev at bic.mni.mcgill.ca>
https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev<https://secure-web.cisco.com/1d3CFTBToT4j_It30C0sMIZMcTjPqg9RYBFR977oo5ohdasD5Q6U_0ZthyISkUY7Scl8QHwLUGl1JPlpSq6nGt24dMn4qVx8wLxa2UEgaCQgBVAFsdSgusVbLZfj66xn8uFJW_6Qn157m_S9eVZtPrTxUxdhnqC-Yle4xue7mwU5VhzucMFWdxp7uxzLYfwjG35JojFFEy8Aa2x9j2hSO3E-NPuUnrYeqQtR4GFLMRpTbp_8xv4S_0T1hH6fYlqR6JyiOCvcB7AV9LbjIr5GAkQ/https%3A%2F%2Fmailman.bic.mni.mcgill.ca%2Fmailman%2Flistinfo%2Floris-dev>

The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210817/ef8a59d8/attachment.html>


More information about the Loris-dev mailing list