[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63064] Statistics crashes when all pixels are nan
From: |
Mohammad Akhlaghi |
Subject: |
[bug #63064] Statistics crashes when all pixels are nan |
Date: |
Thu, 22 Feb 2024 18:58:30 -0500 (EST) |
Follow-up Comment #1, bug#63064 (group gnuastro):
Until the bug is fixed, the following condition can be used in a script: we
are using the shell's 'if' to check if Statistics returned successfully or
not. If not, the script can be prepared to deal with scenarios where all the
inputs are NaN.
$ if aststatistics img.fits; then echo GOOD; else echo BAD; fi
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63064>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #63064] Statistics crashes when all pixels are nan,
Mohammad Akhlaghi <=