Ended up looking at the older threads and the fix posted a few months ago, to use the program textwrangler and save in UNIX text format, worked. The problem seems to be that the normal Mac text handling programs do not have this option and Athena requires it. Just looking at the files in another text editing program does not reveal the problem. Anyway, problem solved.
On Thursday 30 November 2006 11:22, Jay Brandes wrote:
Ended up looking at the older threads and the fix posted a few months ago, to use the program textwrangler and save in UNIX text format, worked. The problem seems to be that the normal Mac text handling programs do not have this option and Athena requires it. Just looking at the files in another text editing program does not reveal the problem.
Hi Jay, Thanks for posting this. I had thought that Athena was dealing gracefully with the three different line termination conventions. As you point out -- it's wasn't. Drat! I wrote some code yesterday to do "the right thing" with mac-, unix-, and windows-line-terminated files. It seems to work, but I want to test it a bit longer. Once I am satisfied, I'll make a new release of the source code. I plan to do this soon so that the folks working on packaging the software for the various flavors of macs can include the fix in their next versions of their packages. B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Jay Brandes schrieb:
Ended up looking at the older threads and the fix posted a few months ago, to use the program textwrangler and save in UNIX text format, worked. The problem seems to be that the normal Mac text handling programs do not have this option and Athena requires it. Just looking at the files in another text editing program does not reveal the problem. Anyway, problem solved. Hello Jay, Hello Bruce,
I had the same issue a couple of weeks ago. As I had a large number of files to change from mac-linebreaks to windows-linebreaks (to unix-linebreaks can also be implemented) I wrote a small Perl-program that operates on all files in a directory and its subdirectories and do the reformatting for me. That saved me from opening/saving each file independently. If you (anyone) is interested in the code I can post it here, though I would first have to change a few lines as the script uses full paths. Of course you would have to have Perl installed on your computer. Cheers, Gerrit
On Wednesday 06 December 2006 07:09, Gerrit Schmithals wrote:
I had the same issue a couple of weeks ago. As I had a large number of files to change from mac-linebreaks to windows-linebreaks (to unix-linebreaks can also be implemented) I wrote a small Perl-program that operates on all files in a directory and its subdirectories and do the reformatting for me. That saved me from opening/saving each file independently. If you (anyone) is interested in the code I can post it here, though I would first have to change a few lines as the script uses full paths. Of course you would have to have Perl installed on your computer.
Very nice! I'd be happy to give you some space on http://cars9.uchicago.edu/~ravel/software/contrib.html, if that would help. B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Very nice! I'd be happy to give you some space on http://cars9.uchicago.edu/~ravel/software/contrib.html, if that would help.
You could use the wiki for this. --Matt
Matt Newville schrieb:
Very nice! I'd be happy to give you some space on http://cars9.uchicago.edu/~ravel/software/contrib.html, if that would help.
You could use the wiki for this. Hello Bruce, Hello Matt,
I appended the script file along with a couple of textfiles for testing. There is a description at the top of the file that explains how to use it. I think both the wiki and the Athena homepage are good places to offer it. Can I leave it up to you where you want to have it? I only tested it on Windows so maybe you want to give it a try on Linux/Mac first. Cheers, Gerrit
On Thursday 07 December 2006 08:15, Gerrit Schmithals wrote:
Matt Newville schrieb:
Very nice! I'd be happy to give you some space on http://cars9.uchicago.edu/~ravel/software/contrib.html, if that would help.
You could use the wiki for this.
Hello Bruce, Hello Matt,
I appended the script file along with a couple of textfiles for testing. There is a description at the top of the file that explains how to use it.
I think both the wiki and the Athena homepage are good places to offer it. Can I leave it up to you where you want to have it?
I only tested it on Windows so maybe you want to give it a try on Linux/Mac first.
Gerrit, Please take a look at the User Contributions part of this wiki page http://cars9.uchicago.edu/iffwiki/HoraeSoftware I'd like to make sure I haven't misrepresented you in any way ;-) B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/
For any Mac users out there who would like to give the new version of horae that Bruce just cooked up a spin, I have made a binary installer. It is available via the ifeffit project at sourceforge (http://www.sourceforge.net/projects/ifeffit). The latest installer is located under ifeffit related files and has the version number horae-064pre as Bruce fixed a file naming conflict that was present in horae063. Other than this change, the release is really horae-063. Please give it a try. I left the older horae-062 installer on the page so downgrades are possible too if problems show up. Paul
Bruce Ravel schrieb:
On Thursday 07 December 2006 08:15, Gerrit Schmithals wrote:
Matt Newville schrieb:
Very nice! I'd be happy to give you some space on http://cars9.uchicago.edu/~ravel/software/contrib.html, if that would help.
You could use the wiki for this.
Hello Bruce, Hello Matt,
I appended the script file along with a couple of textfiles for testing. There is a description at the top of the file that explains how to use it.
I think both the wiki and the Athena homepage are good places to offer it. Can I leave it up to you where you want to have it?
I only tested it on Windows so maybe you want to give it a try on Linux/Mac first.
Gerrit,
Please take a look at the User Contributions part of this wiki page http://cars9.uchicago.edu/iffwiki/HoraeSoftware
I'd like to make sure I haven't misrepresented you in any way ;-)
B
Hello, everything looks fine. I hope it will be useful. Gerrit
participants (5)
-
Bruce Ravel
-
Gerrit Schmithals
-
Jay Brandes
-
Matt Newville
-
Paul Fons