ROAST not finding T2 file

19 views
Skip to first unread message

Benjamin Gibson

unread,
Oct 6, 2022, 3:11:38 PM10/6/22
to roast-users
Hello,
I am trying to run reviewRes like this:

reviewRes('Y:\memori_FEM\sub-04483\ses-1\anat\sub-04483_ses-1_T1w.nii','04483','brain')

but then getting the following error:

Error using reviewRes
T2 file Y:/memorirawdata/sub-04483/ses-1/anat\sub-04483_ses-1_T1w_1mm_padded50_T2_aligned.nii does not exist. You used that
to run ROAST but maybe later deleted it.

That file does exist and is located in 'Y:\memori_FEM\sub-04483\ses-1\anat' along with all the other files. Is there a solution to this error? Thank you! 

Yu (Andy) Huang

unread,
Oct 8, 2022, 8:58:39 AM10/8/22
to Benjamin Gibson, roast-users
Hi Benjamin,

Looks like you moved the T2 file that you used to run roast to a different location.

Hope this helps.

--
You received this message because you are subscribed to the Google Groups "roast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to roast-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/roast-users/3bfe481c-e6fd-4ced-96bc-641d73d20cf9n%40googlegroups.com.


--
Yu (Andy) Huang, Ph.D.

Benjamin Gibson

unread,
Oct 11, 2022, 1:53:40 PM10/11/22
to roast-users
Hi Andy,
Thanks for your response. The thing is the T2 is in that folder and was never moved. Any idea why this would happen given that? Thanks! 

Yu (Andy) Huang

unread,
Oct 12, 2022, 9:31:10 AM10/12/22
to Benjamin Gibson, roast-users
Please make sure the T2 and T1 are in the same folder when you run roast and when you call reviewRes().  Looks like you ran roast for folder Y:/memorirawdata/sub-04483/ses-1/anat, but you called reviewRes for folder Y:\memori_FEM\sub-04483\ses-1\anat\. The two folders should be the same.

Hope this helps.

Reply all
Reply to author
Forward
0 new messages