gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] (no subject)


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] (no subject)
Date: Fri, 20 May 2016 11:57:35 +0000 (UTC)

branch: master
commit 12ed388a9efc2b74bb6c6340dd90f7f35ca029fa
Author: Mohammad Akhlaghi <address@hidden>
Date:   Fri May 20 19:10:11 2016 +0900

    Corrected imgcrop/imgpolygon.sh test script
    
    This script would make an output file named `mkprofcat1_crop.fits', then
    rename it to the desired output. This could cause troubles when run in
    parallel because the same could be created by other scripts. So in this
    test, now ImageCrop is instructed to directly write its output into
    `imgpolygon.fits'.
---
 tests/imgcrop/imgpolygon.sh |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/imgcrop/imgpolygon.sh b/tests/imgcrop/imgpolygon.sh
index 95e2b4b..76a9dd4 100755
--- a/tests/imgcrop/imgpolygon.sh
+++ b/tests/imgcrop/imgpolygon.sh
@@ -48,6 +48,5 @@ if [ ! -f $execname ] || [ ! -f $img ]; then exit 77; fi
 
 # Actual test script
 # ==================
-$execname $img $cat --imgmode --zeroisnotblank                               \
+$execname $img $cat --imgmode --zeroisnotblank --output=imgpolygon.fits      \
           --polygon=209,50:436.76,151:475.64,438.2:210.6,454.04:121.4,289.88
-mv mkprofcat1_crop.fits imgpolygon.fits



reply via email to

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