gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 2c027224 08/39: Zeropoint: change the output f


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 2c027224 08/39: Zeropoint: change the output file
Date: Wed, 19 Apr 2023 12:18:22 -0400 (EDT)

branch: master
commit 2c027224b5b2051a09813168a17ddd332c58978a
Author: Samane Raji <samaneraji@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Zeropoint: change the output file
    
    Until now, the final zeropoint was saved in the temp directory. If the user
    would not keep the temp directory, the output would be deleted.
    
    With this commit, this bug is fixed and the output will be saved outside of
    the temp directory.
---
 bin/script/zeropoint.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/script/zeropoint.mk b/bin/script/zeropoint.mk
index 0fda8d4f..b3f4c22b 100644
--- a/bin/script/zeropoint.mk
+++ b/bin/script/zeropoint.mk
@@ -241,7 +241,7 @@ $(aperzeropoint): $(tmpdir)/zeropoint-%.txt: \
 #
 # Using the standard deviation of the zeropoints for each aperture,
 # select the one with the least scatter.
-zeropoint=$(tmpdir)/zeropoint.fits
+zeropoint=$(output)
 $(zeropoint): $(aperzeropoint)
        zp=$(subst .fits,-tmp.txt,$@)
        echo "# Column 1: APERTURE  [arcsec,f32,]" > $$zp
@@ -274,6 +274,5 @@ $(zeropoint): $(aperzeropoint)
 
 
 
-
 # Final target.
 final: $(zeropoint)



reply via email to

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