bugGNU Astronomy Utilities - Bugs: bug #64357, Plain text metadata ignored when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64357: Plain text metadata ignored when no name is present

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Tue 27 Jun 2023 11:02:00 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Tue 27 Jun 2023 11:17:58 AM UTC, comment #1: 

This bug has been fixed in Commit 6300ea110.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 27 Jun 2023 11:02:00 AM UTC, original submission:  

According to the definition of Gnuastro's plain-text table format, the "NAME" component of the metadata line is optional.

However, as of Gnuastro version 0.20, when the name is not present, the whole metadata line is ignored. This bug can be reproduced with the commands below.


$ cat b.txt
# Column 1:  [counts, uint8] An example image
10 11
12 13


$ asttable b.txt -i
--------
b.txt
-------  -----  ----     -------
No.Name  Units  Type     Comment
-------  -----  ----     -------
1  n/a   n/a    float64  n/a
2  n/a   n/a    float64  n/a
--------
Number of rows: 2
--------


The output of 'asttable' on the first column should have the units and type and comments (even though there is no name in its metadata:

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-27 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code