gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 15d3e4f7: Book: a typo in `Invoking astscript-


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 15d3e4f7: Book: a typo in `Invoking astscript-ds9-region` is corrected
Date: Wed, 19 Apr 2023 13:10:40 -0400 (EDT)

branch: master
commit 15d3e4f748ac2f3c18530429e61b1fa3ee9848a7
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Book: a typo in `Invoking astscript-ds9-region` is corrected
    
    Until now, the example commands in the "Invoking astscript-ds9-region"
    started with './' (such as './astscript-ds9-region'). But adding a './'
    prefix is only for running an executable within the running directory! So
    it will not be found with this!
    
    With this commit, this typo is fixed.
---
 doc/gnuastro.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 8c5207fe..be2f6334 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -29345,9 +29345,9 @@ $ asttable table.fits --range=MAG,18:20 --column=RA,DEC 
\
 ## objects with a magnitude between 28 to 29 as a green region and
 ## show both.
 $ asttable cat.fits --range=MAG_F160W,25:26 -cRA,DEC \
-      | ./astscript-ds9-region -c1,2 --color=red -obright.reg
+      | astscript-ds9-region -c1,2 --color=red -obright.reg
 $ asttable cat.fits --range=MAG_F160W,28:29 -cRA,DEC \
-      | ./astscript-ds9-region -c1,2 --color=green \
+      | astscript-ds9-region -c1,2 --color=green \
                     --command="ds9 image.fits -regions bright.reg"
 @end example
 



reply via email to

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