Is there a blank subject line in the lta file? If so, it is probably 
trying to get the subject from there. You can try putting the --s after 
the --lta

On 2/21/2022 3:43 PM, Tisdall, Dylan wrote:
>          External Email - Use Caution
>
> Hi all,
>
> Quick question on a puzzling error with bbregister version 7.1.1. When I run:
>
> bbregister --s 126346 --mov mgz/7T_MEMPRAGE --init-reg 7Tto3Tinit.lta --reg 
> 7Tto3T.lta --o 7TMEMPRAGE_warped.mgz --t1
>
> I get the error:
>
> ERROR: must spec a subject id
>
> which I thought I'd done with the --s flag. What am I missing?
>
> Even more odd, if I just move the to the end of the command, bbregister will 
> run, but eventually fails with:
>
> error: 
> mghRead(/hom/mtisdall/Research/7TAnalysis/subject//subject-unknown/mri/orig.mgz,
>  -1): could not open file
>
> Is there something obvious I'm doing wrong with these two command lines that 
> cause these behaviors?
>
>
> Thanks,
> Dylan
>
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to