[Ifeffit] Athena crash on mac on import

Bruce Ravel bravel at bnl.gov
Fri Jul 1 15:17:44 CDT 2016


On 07/01/2016 03:00 PM, Bruce Ravel wrote:
> There is probably a simple-ish work-around.  Let me think about it and
> I'll get back to you.

There's not a way to simply fix this that does not involve you upgrading 
Demeter.  However, if you don't mind a bit of hands on effort, try this:

  * Open the file 
/opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level/Demeter/Data/Prj.pm 
in a text editor (not Word!).

  * Go to line 308.  Here's what the surrounding lines lines look like:

         next if any { $k eq $_ } qw(
				 bindtag deg_tol denominator detectors
				 en_str file frozen line mu_str
				 numerator old_group original_label
				 peak refsame not_data
				 bkg_switch bkg_switch2
				 is_xmu is_chi is_xanes is_xmudat
				 bkg_stan_lab bkg_flatten_was
				 bkg_fnorm
			      );
    Line 308 is the one that says "bkg_fnorm".  Edit this to read 
"bkg_fnorm bkg_funnorm".  Save.

Try reading in the project file again.  I tested this and I think it 
will work.  Let me see the error message if this idea doesn't.

B

P.S. The Prj.pm file might be in a different location on someone else's 
computer.



-- 
  Bruce Ravel  ------------------------------------ bravel at bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 743, Room 114
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/


More information about the Ifeffit mailing list