diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-02-19 16:51:34 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-02-19 16:51:34 +0800 |
commit | 2e5b01590e90f302151a50b2d11144a94f925ec6 (patch) | |
tree | f0574a5326bbe8ec7f9340042cb20637cb849b46 /scripts | |
parent | 1d9b0d87b2ae6661974e548b93c6e3bc244c81ad (diff) | |
download | chandra-acis-analysis-2e5b01590e90f302151a50b2d11144a94f925ec6.tar.bz2 |
renorm_spectrum.py: Fix the positional argument error
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/renorm_spectrum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/renorm_spectrum.py b/scripts/renorm_spectrum.py index 2b54076..92c2132 100755 --- a/scripts/renorm_spectrum.py +++ b/scripts/renorm_spectrum.py @@ -63,7 +63,7 @@ def main(): "background [eV] (default: 12000 eV)") parser.add_argument("-r", "--spec-ref", dest="spec_ref", required=True, help="Reference (source) spectrum") - parser.add_argument("spec", dest="spec", + parser.add_argument("spec", help="(background) spectrum to be renormalized") args = parser.parse_args() |