gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 63a0e2a6 2/2: Book: corrected code example in


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 63a0e2a6 2/2: Book: corrected code example in new constant operator
Date: Wed, 21 Dec 2022 11:32:23 -0500 (EST)

branch: master
commit 63a0e2a66e2e927fc08c04afa70c2a67869cdd09
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Book: corrected code example in new constant operator
    
    Until now, the newly added comments and code in the example usage of the
    'constant' operator of Arithmetic didn't match.
    
    With this commit, they have been edited to avoid confusion.
---
 doc/gnuastro.texi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index aaa46bd5..26441f01 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -18632,9 +18632,7 @@ The steps below show the the usage of this.
 $ asttable cat-1.fits -cRA,DEC,MAG,MAG_ERR \
        -c'arith $1 1 constant' --output=tab-1.fits
 
-## Similar to above, but for the second catalog, we don't
-## need metadata here (because '--catrowfile' takes the column
-## column meta data from its first input.
+## Similar to above, but for the second catalog.
 $ asttable cat-2.fits -cRA,DEC,MAG,MAG_ERR \
            -c'arith $1 2 constant' --output=tab-2.fits
 
@@ -18657,6 +18655,7 @@ $ astfits merged.fits --write=/,"Source catalogs" \
 
 ## Check the metadata in 'merged.fits' and clean the
 ## temporary files.
+$ rm tab-1.fits tab-2.fits
 $ astfits merged.fits -h1
 @end example
 



reply via email to

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