gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 5e6d069f: astscript-psf-unite: correctly accou


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 5e6d069f: astscript-psf-unite: correctly accounting for --innerhdu
Date: Sat, 9 Dec 2023 17:17:47 -0500 (EST)

branch: master
commit 5e6d069f76d3de7496ba174be32e22488fe2d111
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    astscript-psf-unite: correctly accounting for --innerhdu
    
    Until now, when '--innerhdu' was used with this script to specify a HDU
    other than '--innerhdu=1', the script would not use the user-specified HDU.
    
    With this commit, the source of this problem has been found and fixed. It
    was due to the 'astwarp' command where we were not passing the value give
    to this option.
    
    This bug was reported by Ignacio Ruiz Cejudo.
    
    This fixes bug #65005.
---
 NEWS                         | 3 +++
 bin/script/psf-unite.sh      | 2 +-
 doc/announce-acknowledge.txt | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 277a0534..b1728c15 100644
--- a/NEWS
+++ b/NEWS
@@ -142,6 +142,9 @@ See the end of the file for license conditions.
     Sepideh Eskandarlou.
   - bug #64952: Table error message for incorrect column name was not
     complete; reported by Sepideh Eskandarlou.
+  - bug #65005: astscript-psf-unit not accounting for --innerhdu; reported
+    by Ignacio Ruiz Cejudo.
+
 
 
 
diff --git a/bin/script/psf-unite.sh b/bin/script/psf-unite.sh
index a321d322..6c5b3ce1 100644
--- a/bin/script/psf-unite.sh
+++ b/bin/script/psf-unite.sh
@@ -472,7 +472,7 @@ xdiff=$(astarithmetic $xcenter float32 $xpsfcenter float32 
- --quiet)
 ydiff=$(astarithmetic $ycenter float32 $ypsfcenter float32 - --quiet)
 
 innertranslated=$tmpdir/"$bname_inner"_translated.fits
-astwarp $inner --translate=$xdiff,$ydiff \
+astwarp $inner --hdu=$innerhdu --translate=$xdiff,$ydiff \
         --output=$innertranslated $quiet
 
 
diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt
index 6ac34ade..1153c23c 100644
--- a/doc/announce-acknowledge.txt
+++ b/doc/announce-acknowledge.txt
@@ -1,5 +1,6 @@
 Alphabetically ordered list to acknowledge in the next release.
 
+Ignacio Ruiz Cejudo
 Sepideh Eskandarlou
 Teet Kuutma
 



reply via email to

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