[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65267] astscript-fits-view incorrect call to ds9 with more inputs
From: |
Mohammad Akhlaghi |
Subject: |
[bug #65267] astscript-fits-view incorrect call to ds9 with more inputs than HDUs |
Date: |
Tue, 6 Feb 2024 14:36:29 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?65267>
Summary: astscript-fits-view incorrect call to ds9 with more
inputs than HDUs
Group: GNU Astronomy Utilities
Submitter: makhlaghi
Submitted: Tue 06 Feb 2024 08:36:29 PM CET
Category: Installed scripts
Severity: 3 - Normal
Item Group: Crash
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 06 Feb 2024 08:36:29 PM CET By: Mohammad Akhlaghi <makhlaghi>
When more than one image is given to this script, and the number of HDUs given
to the script is less than the inputs, this script will not complain and will
incorrectly call DS9 (with an empty HDU); causing DS9 to crash:
$ astscript-fits-view a.fits b.fits c.fits -h2
We should add a check to inform the user of this problem (as in all Gnuastro
programs) and add a new '--globalhdu' (like in other Gnuastro programs that
take multiple inputs) to let the user specify a single HDU for all the files.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65267>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #65267] astscript-fits-view incorrect call to ds9 with more inputs than HDUs,
Mohammad Akhlaghi <=