bugGNU Astronomy Utilities - Bugs: bug #63399, Table aborts on an empty input...

 
 

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

bug #63399: Table aborts on an empty input with --noblankend

Submitter:  Elham Saremi <elham>
Submitted:  Tue 22 Nov 2022 10:52:28 AM UTC
   
 
Category:  Table Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Tue 22 Nov 2022 12:00:49 PM UTC, comment #1: 

Thanks a lot for this very good bug report Elham.

It has been fixed in Commit d289ef291f. You can get the latest tarball with this fix from https://akhlaghi.org/gnuastro-latest.tar.lz

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 22 Nov 2022 10:52:28 AM UTC, original submission:  

There is a bug when we use an empty file with "asttable" program and "--noblanked" option. Please see the example. The file is attached for testing.


asttable match.fits -i
--------
match.fits (hdu: 1)
-------       -----   ----     -------
No.Name       Units   Type     Comment
-------       -----   ----     -------
1  RA         deg     float64  Flux weighted center (WCS axis 1).
2  DEC        deg     float64  Flux weighted center (WCS axis 2).
3  MAGNITUDE  log     float32  Magnitude.
4  Kstdap     mag     float32  AB Magnitude in Ks band
5  Kadu       ADU     float64  ADU counts in Ks band
6  FWHM       pixels  float32  Full width at half maximum (accounting for ellipticity).
--------
Number of rows: 0
--------



asttable match.fits --noblankend=1,2
asttable: gal_blank_flag_remove: the 'flag' argument has a 'float64' type, it must have an unsigned 8-bit type


Elham Saremi <elham>

 

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

Attached Files
file #53988:  match.fits added by elham (8KiB - application/fits)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by elham (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-22 makhlaghi StatusNone Fixed
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed
        Summarygal_blank_flag_remove Table aborts on an empty input with --noblankend
    2022-11-22 elham Attached File- Added match.fits, #53988

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code