gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master ede8f217: Radial Profile: missing the --quiet


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master ede8f217: Radial Profile: missing the --quiet option in two places
Date: Mon, 31 Jan 2022 19:39:21 -0500 (EST)

branch: master
commit ede8f217dcc47e0c71e9b2d60a23212470decb05
Author: Raul Infante-Sainz <infantesainz@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Radial Profile: missing the --quiet option in two places
    
    Until this commit, there were two places in which Arithmetic was called
    without the option --quiet.  That caused that when running the script with
    --quiet option, some lines were showed.
    
    With this commit, this problem has been solved by setting this parameter
    appropriately.
---
 bin/script/radial-profile.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/script/radial-profile.in b/bin/script/radial-profile.in
index 6908b4fc..090ce63c 100644
--- a/bin/script/radial-profile.in
+++ b/bin/script/radial-profile.in
@@ -552,7 +552,8 @@ echo "1 $xcenter $ycenter 7 $rmax 1 $positionangle 
$axisratio 1 1" \
 # and increase the signal-to-noise ratio of the measurement.
 aperturesrebinned=$tmpdir/apertures-rebin.fits
 if [ x"$undersample" != x ]; then
-    astarithmetic $aperturesraw $undersample / -o$aperturesrebinned
+    astarithmetic $aperturesraw $undersample / \
+                  $quiet --output $aperturesrebinned
 else
     ln -fs $aperturesraw $aperturesrebinned
 fi
@@ -569,7 +570,8 @@ fi
 apertures=$tmpdir/apertures.fits
 astarithmetic $aperturesrebinned set-i \
               i 0 ne 1 fill-holes set-good \
-              i good i 1 + where -o$apertures
+              i good i 1 + where \
+              $quiet --output $apertures
 
 
 



reply via email to

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