[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 0b29630a: psf-scripts: --mode was not initiali
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 0b29630a: psf-scripts: --mode was not initialized to empty string |
Date: |
Wed, 7 Feb 2024 18:40:20 -0500 (EST) |
branch: master
commit 0b29630a459c2be52c3a20bab7979b3e9a260fb7
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
psf-scripts: --mode was not initialized to empty string
Until now, in some of the psf scripts the 'mode' variable was used but it
was not initialized to an empty string.
With this commit, this option is initialized to an empty string in those
scripts.
---
bin/script/psf-scale-factor.sh | 1 +
bin/script/psf-stamp.sh | 1 +
bin/script/psf-subtract.sh | 1 +
3 files changed, 3 insertions(+)
diff --git a/bin/script/psf-scale-factor.sh b/bin/script/psf-scale-factor.sh
index a215e02f..029172cc 100644
--- a/bin/script/psf-scale-factor.sh
+++ b/bin/script/psf-scale-factor.sh
@@ -40,6 +40,7 @@ export LC_NUMERIC=C
# Default option values (can be changed with options on the command-line).
hdu=1
psf=""
+mode=""
quiet=""
psfhdu=1
center=""
diff --git a/bin/script/psf-stamp.sh b/bin/script/psf-stamp.sh
index 4738bf35..bba0c662 100644
--- a/bin/script/psf-stamp.sh
+++ b/bin/script/psf-stamp.sh
@@ -48,6 +48,7 @@ export LC_NUMERIC="en_US.UTF-8"
# Default option values (can be changed with options on the command-line).
hdu=1
+mode=""
quiet=""
center=""
keeptmp=0
diff --git a/bin/script/psf-subtract.sh b/bin/script/psf-subtract.sh
index 260ccb71..395865ba 100644
--- a/bin/script/psf-subtract.sh
+++ b/bin/script/psf-subtract.sh
@@ -38,6 +38,7 @@ export LC_NUMERIC=C
# Default option values (can be changed with options on the command-line).
hdu=1
psf=""
+mode=""
psfhdu=1
quiet=""
scale=""
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 0b29630a: psf-scripts: --mode was not initialized to empty string,
Mohammad Akhlaghi <=