Hi,
All FSL tools only use the basename of the filename (i.e. they
strip off the endings .nii.gz, .nii, .hdr, .hdr.gz, .img, .img.gz)
to determine which file you are referring to. If you have more
than one file with the same basename (like you have here)
then it can easily get confused. It would give you a warning
if you just had foo.hdr and foo.nii, bit foo.nii.hdr is a weird name
and it doesn't look for this to issue a warning. I would strongly
advise you to choose better names, so that the basenames are
different and then you won't have a problem.
All the best,
Mark
On 9 Jun 2009, at 20:35, Kanterakis, Efstathios wrote:
> Dear FSL community,
>
> We encountered a situation where fslhd was reading the wrong header
> information.
> We had two files: foo.hdr and foo.nii.hdr which were analyze and
> nifti respectively.
> fslhd foo.nii.hdr printed the information of foo.hdr
> I understand that fslhd tries to find the header using the input
> prefix. I wonder if the
> above is expected behavior or a bug.
>
> Thanks,
> Stathis Kanterakis
>
> The information contained in this e-mail message is intended only
> for the personal and confidential use of the recipient(s) named
> above. If the reader of this message is not the intended recipient
> or an agent responsible for delivering it to the intended recipient,
> you are hereby notified that you have received this document in
> error and that any review, dissemination, distribution, or copying
> of this message is strictly prohibited. If you have received this
> communication in error, please notify us immediately by e-mail, and
> delete the original message.
|