[REDMINE1D-393] [RM-8631] [Bug] get_short_attribute function from AbstractOutput (pylibamazed) can't reach linecatalog Created: 02/Feb/24  Updated: 05/Feb/24

Status: Open
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


 Description   

Created on 2024-02-01 16:18:25 by Thomas Bedrine. % Done: 100

While testing export_attributes cli function from AmazedOutputAnalyzer in develop, I noticed that trying to get information about Halpha line (which I know is in the dataset I used, sp8_pfs) raised an error : @INTERNAL ERROR:Line Halpha not found in {}@. I need to gather further information on this, but this behaviour does not occur on master. My guess is that somehow, the function cannot reach the linecatalog anymore but I have yet to debug that



 Comments   
Comment by Redmine-Jira Migtation [ 05/Feb/24 ]

Comment by Thomas Bedrine on 2024-02-02 10:43:59:
It was actually a small rename in the CalibrationLibrary, in `load_all`, the check that loads the line_catalog looks for "all", or "lineCatalog", in AmazedOutputAnalyzer it was still passed as "linecatalog". Linecatalog was then never loaded, so no line could be found in it. Easy fix
https://gitlab.lam.fr/amazed/amazed-output-analyzer/-/merge_requests/28

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