That was the right thing to do. Glad it worked. B On 07/01/2016 04:19 PM, George Sterbinsky wrote:
Hi Bruce,
Thanks for providing a fix. The Prj.pm file on my system does not look exactly like what you describe. Lines 260 to 268 looked like this:
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
);
After line 267, I added a new line that reads "bkg_fnorm bkg_funnorm" as you suggested, and now I am able to open the prj file.
Thanks again, George
On Fri, Jul 1, 2016 at 3:17 PM, Bruce Ravel
mailto:bravel@bnl.gov> wrote: 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@bnl.gov mailto:bravel@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/ _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov mailto:Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- Bruce Ravel ------------------------------------ bravel@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/