gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mohammad Akhlaghi
Subject: [bug #64357] Plain text metadata ignored when no name is present
Date: Tue, 27 Jun 2023 07:02:02 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64357>

                 Summary: Plain text metadata ignored when no name is present
                   Group: GNU Astronomy Utilities
               Submitter: makhlaghi
               Submitted: Tue 27 Jun 2023 12:02:00 PM BST
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Output not reasonable
                  Status: In Progress
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 27 Jun 2023 12:02:00 PM BST By: Mohammad Akhlaghi <makhlaghi>
According to the definition of
[https://www.gnu.org/software/gnuastro/manual/html_node/Gnuastro-text-table-format.html
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:







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64357>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]