[#6897] VOXEL-MIRRORED HOMOTOPIC CONNECTIVITY Inquiry

Please log in

State: more information
Open
Date:
2013-03-05 22:22
Priority: more information
3
Submitted By:
Rowen Morioka (rmorioka)
Assigned To: more information
Nobody (None)
Severity: 
None
Operating System: 
None
Browser: 
None
Resolution: 
None
Summary: more information
VOXEL-MIRRORED HOMOTOPIC CONNECTIVITY Inquiry

Detailed description

Hello,

I am trying to run a the script called "singlesubjectVMHC.sh" also known as SCRIPT TO CALCULATE VOXEL-MIRRORED HOMOTOPIC CONNECTIVITY.

When I run this script in terminal (AFNI) - I always get this error output "env: bash\r: No such file or directory".  

I think it is because I received this script from someone who downloaded it from a Windows computer and I use a Mac computer?
I read the solution is to convert the script using the command dos2unix but for some reason terminal "can't find package"
even when I type sudo apt-get install dos2unix.  I also tried tr - but I really have idea how that works or what the proper command is.

Can you please offer any suggestions?  I attached the script to this message.

Also - have you seen this script before?  I've noticed it's not in your fconn download batch?

Thanks

Rowen

Response

Message

Date: 2013-03-07 13:46
Sender: NITRC Moderator

(For "AFNI" above, please substitute "1000 Functional Connectomes" or otherwise, as appropriate.)

Also - I don't see this script in any NITRC downloads.


Date: 2013-03-07 13:32
Sender: NITRC Moderator

This appears to be a Windows encoding error; try:


tr -d '\r' < singlesubjectVMHC\ \(1\).sh > singlesubjectVMHC\ \(2\).sh


and then running singlesubjectVMHC (2).sh.

You might have better luck with future questions in our forum (http://www.nitrc.org/forum/forum.php?for...) or through the AFNI resources (http://www.nitrc.org/projects/afni/).  This tracker is intended for NITRC-specific issues and any help with other issues will be through pure luck. :)

Attached Files:

Name Download
singlesubjectVMHC (1).sh Download

Changes:

Field Old Value Date By
New Message2013-03-07 13:46moderator
MessageThis appears to be a Windows encoding error; try:
tr -d '\r' < singlesubjectVMHC\ \(1\).sh > singlesubjectVMHC\ \(2\).sh
and then running singlesubjectVMHC (2).sh.

You might have better luck with future questions in our forum (http://www.nitrc.org/forum/forum.php?for...) or through the AFNI resources (http://www.nitrc.org/projects/afni/).  This tracker is intended for NITRC-specific issues and any help with other issues will be through pure luck. :)
2013-03-07 13:37moderator
New Message2013-03-07 13:32moderator
File Added494: singlesubjectVMHC (1).sh2013-03-05 22:22rmorioka