Ajay,
Try "printenv".
I think you'll see your PATH variable in there, but just in case you don't,
you could also try "echo $PATH". Just make sure the path to your program is
actually listed in the PATH variable.
Cheers,
David
-----Original Message-----
From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
Of Dr Ajay Garg
Sent: Friday, May 29, 2009 1:12 PM
To: [log in to unmask]
Subject: Re: [FSL] Nifti Help
Hi Mark,
How can I check the environment set up. I can see the dcm2nii.ni file
as invisible file in my home folder.
Ajay
Sent from my iphone.
On May 29, 2009, at 5:15 PM, Mark Jenkinson <[log in to unmask]> wrote:
> Hi,
>
> I would also check your environment set-up, and particularly your
> PATH variable, as it might just be that this is unable to find the
> correct version. The "not found" error certainly indicates a
> problem with the path.
>
> All the best,
> Mark
>
>
> On 29 May 2009, at 12:29, Evi Vanoost wrote:
>
>> We had the same issue when upgrading our machines recently.
>>
>> Are you still on PowerPC machines or Intel machines? For PowerPC
>> machines we had to find and download an older version of dcm2nii
>> and for Intel machines we had to find and download the latest
>> version of dcm2nii. Although they're supposed to be Universal or
>> translated with Rosetta, they don't work the same on either platform.
>>
>> Let me know if you need copies of the old dcm2nii software
>>
>> Evi
>>
>> On May 29, 2009, at 2:34 AM, Ajay Garg wrote:
>>
>>> Dear FSL expert,
>>>
>>> I am not able to convert dicom to nifti with dcm2nii software.
>>>
>>> I am using mac platform and was able to convert dicom into nifti
>>> format with dcm2nii using both gui and command line earlier. Last
>>> week, I had to reinstall my mac OS and all other softwares.
>>>
>>> Now when I convert dicom to nifti with dcm2niigui, I get multiple
>>> files, each one for each direction. I had selected compressed FSL
>>> 4D nifti in the output. I also don't get bvec and bval file which
>>> I used to get earlier. I don't know the reason. Earlier I used to
>>> get single nifti file, one bval and one bvec file.
>>>
>>> I also installed dcm2nii. Earlier I was able to convert dicom to
>>> nifti via terminal window. Now I get the error that command not
>>> found. The dcm2nii file is there in my home folder.
>>>
>>>
>>> I am not sure where I went wrong.
>>>
>>> Ajay
>>>
>>
|