[Ifeffit] Argument "h_rmax = 4" isn't numeric in array or hash

Ryan Parmenter R.Parmenter at outlook.com
Sat Apr 15 04:35:32 CDT 2023


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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20230415/db9724a8/attachment.htm>


More information about the Ifeffit mailing list