HI Ryan,

I have attached my test file...just an iron foil scan. It reads in without any grievous issue on my pc running Win10
and version 0.9.26 of the Demeter package.

If you are running Win11, it is possible that an update has caused an issue. Possibly your installation has become
corrupted somehow. Either reason could be why Athena no longer works as it did for you a year ago.

Using legacy console might help:
image.png

or you could give Larch a try  https://xraypy.github.io/xraylarch/
or WinXAS http://winxas.de/

-R.



On Sat, Apr 15, 2023 at 2:35 AM Ryan Parmenter <R.Parmenter@outlook.com> wrote:

Hi all,

 

I have been using the Demeter package for a year now and have recently been experiencing an issue when importing data. The following message pops up when importing data into Athena:

 

10:23:55: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139.

 

Line 139 contains:

coerce Window, from Str, via { ($_ =~ m{[0-5]}) ? $window_list[$_] : $_ };

 

This usually pertains to line 139, but the following errors appear after the data import window is closed.  

 

 

 

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 19.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 27.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 35.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 43.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 51.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 59.

 

10:23:58: Argument "h_rmax = 4" isn't numeric in array or hash lookup at AppData/Roaming/DemeterPerl/perl/site/lib/Demeter/StrTypes.pm line 139, <F> line 67.

 

 

The programme still runs; however, this pop-up is becoming slightly frustrating, given the amount of data I have. I have tried to use an older version, but the issue persists. This occurs with new and old data files, which were fine in the past. Do you have any ideas on how I can resolve this? I appreciate any help you can give me.

 

 

_______________________________________________
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