[REDMINE1D-279] [RM-8209] Check endianess of data in spectrum reader Created: 12/Aug/23  Updated: 12/Aug/23

Status: In Progress
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File erreur filtres pandas.txt    

 Description   

Created on 2023-08-11 13:24:13 by Thomas Bedrine. % Done: 0

When trying to resolve the issue #8206 of Vizu, I noticed that the optional filters seemed to cause a Value error that aborted the treatment of the spectrum before it was loaded into the C++ : @ValueError: Big-endian buffer not supported on little-endian compiler@ (see in attached file).

It is a problem caused by the system of byte-reading/encoding that is used to generate the data of the spectrum, which can conflict with the system of the machine that is used to run Amazed with that data. The problem only occurs on rare cases (in filters, for now), but it may happen again in the future, so I suggest doing a conversion of the input data from its original endian coding into the one that the machine is actually using .


Generated at Sat Feb 10 15:31:07 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.