[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60958] Showing warning even with --quiet option
From: |
Raul Infante-Sainz |
Subject: |
[bug #60958] Showing warning even with --quiet option |
Date: |
Thu, 22 Jul 2021 04:48:45 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?60958>
Summary: Showing warning even with --quiet option
Project: GNU Astronomy Utilities
Submitted by: infantesainz
Submitted on: Thu 22 Jul 2021 08:48:43 AM UTC
Category: All Gnuastro
Severity: 3 - Normal
Item Group: Input/Output
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I noticed that when using Catalog (astmkcatalog) or MakeProfile (astmkprof)
with a very long input file name, they show a warning on the command line.
This is useful since the user is noticed about that: 'FITS keyword value (max
of 68 characters), it will be truncated'.
However, even when calling these programs with the quiet option (--quiet),
that warning still appear. From my point of view this is not the desired
behavior since it is not a crash but only a warning.
astmkcatalog: gal_fits_key_write_filename: WARNING:
'/very/very/very/long/file/name.fits' is too long to fit into a FITS keyword
value (max of 68 characters), it will be truncated
astmkprof: gal_fits_key_write_filename: WARNING:
'/very/very/very/long/file/name.fits' is too long to fit into a FITS keyword
value (max of 68 characters), it will be truncated
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60958>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #60958] Showing warning even with --quiet option,
Raul Infante-Sainz <=