[Ifeffit] Using windows apj files on linux

Ravel, Bruce D. bravel at anl.gov
Wed May 30 23:12:14 CDT 2007


Hi all,

I spent some time on an airplane this morning fixing this problem that Josh reported.  It should be fixed in the next release.  In light of this being a linux-only problem, I will probably make a source code release before the new windows executables are ready.

B

P.S.  In case you are curious, "\x" is perl's way of explicitly specifying a unicode character and the argument in braces is the character number expressed in hex.  "\x{d}" is, therefore, the carriage return character, sometimes written "\r".  So basically, perl was trying to tell me that I was handling the dos/unix end of line issue incorrectly, but it was telling me in a really obfuscated way.  Fascinating stuff ... not!

-----Original Message-----
From: ifeffit-bounces at millenia.cars.aps.anl.gov on behalf of joshua jason kas
Sent: Tue 5/29/2007 12:13 PM
To: ifeffit at millenia.cars.aps.anl.gov
Subject: [Ifeffit] Using windows apj files on linux
 
Hi,
I recently updated to redhat 4. I am running:
 	artemis 0.8.009
 	IFEFFIT 1.2.9
 	Tk-804.027
 	perl 5.8.5

I have an artemis project file that I 
started on my win xp machine and would like to use on the linux machine. 
When I open the apj file on linux, some of the information about the fits 
seems to be scrambled. Here are some of the symptoms.

 	1) The raw logs seem to have aquired the following
            escape character at the end of each line: \x{d}
 	   This shows up as a carriage return or end of line on this screen.

 	2) Quick summary of selected fits gives 0 for all reported values
 	   (chisq, rfactor, nidp, etc) and does not report any guessed
            parameters.

Here is one of the quick summaries. Note that the \x{d} do not show up 
here, but they do in the artemis message palette. I am also attatching the 
project file.
Thanks for any help,
Josh Kas

Project title   : Fitting pt1_amine_165_he_573.chi

Comment         : fer dw, constant delr, ei=0, kw=1, kmin=2.0, rmin=1.2

Figure of merit : 17


Fitting statistics
   Number of independent points : 0
   Number of variables          : 0
   Chi-square                   : 0
   Reduced chi-square           : 0
   R-factor                     : 0
   Measurement uncertainty (k)  : 0
   Measurement uncertainty (R)  : 0

Guess parameters

=*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*=







More information about the Ifeffit mailing list