users > Unable to read reference brain
Showing 1-2 of 2 posts
Aug 21, 2017 09:08 PM | Wai Chang
Unable to read reference brain
Hi Developers,
I am using CMTK+munger on Ubuntu 16.04.
I downloaded CMTK-3.3.1-Linux-x86_64-core.rpm and install it in my Linux system.
After that, I tried to use the munger but it gave me an error:
$ munger -a -w -X 26 -C 8 -G 80 -R 4 -A '--accuracy 0.4' -W '--accuracy 0.4' -T 2 -s Meanbrain.nii Template.nii
Unable to read reference brain at /usr/local/bin/munger line 97.
The file Meanbrain.nii and Template.nii are in the same folder (I had navigated to that directory in my terminal and also added that directory to .profile).
Would you happen to know why this is happening?
Thank you very much.
Best regards,
Wai
I am using CMTK+munger on Ubuntu 16.04.
I downloaded CMTK-3.3.1-Linux-x86_64-core.rpm and install it in my Linux system.
After that, I tried to use the munger but it gave me an error:
$ munger -a -w -X 26 -C 8 -G 80 -R 4 -A '--accuracy 0.4' -W '--accuracy 0.4' -T 2 -s Meanbrain.nii Template.nii
Unable to read reference brain at /usr/local/bin/munger line 97.
The file Meanbrain.nii and Template.nii are in the same folder (I had navigated to that directory in my terminal and also added that directory to .profile).
Would you happen to know why this is happening?
Thank you very much.
Best regards,
Wai
Nov 7, 2017 10:11 PM | Kevin Mann
RE: Unable to read reference brain
I've looked into this, and it appears that this problem occurs when
copying this command directly from the readme file from mendeley
data I posted. It seems that the .rtf format inserts some sort of
hidden character that causes this to fail. I'm updating the readme
file to be just plain text so that this isn't a problem.
In the meantime, just directly type the command, or if you like to copy and paste, copy it to another document without formatting and it should work.
hope that helps!
-Kevin
In the meantime, just directly type the command, or if you like to copy and paste, copy it to another document without formatting and it should work.
hope that helps!
-Kevin