Commit 0443d1a0 authored by Sogo Mineo's avatar Sogo Mineo
Browse files

fix: downloadPsf: deleted '--sw' and '--sh' from an error message

parent afd1f0c9
......@@ -137,7 +137,7 @@ def main():
psfreqs = read_psfreqs(f, default=psfreq, type=args.listtype)
else:
if not psfreq.iscomplete():
raise RuntimeError(f"Specify either (--ra --dec --sw --sh) or --list.")
raise RuntimeError(f"Specify either (--ra --dec) or --list.")
psfreqs = [psfreq]
download(psfreqs, user=args.user, password=args.password, onmemory=False)
......
......@@ -135,7 +135,7 @@ def main():
psfreqs = read_psfreqs(f, default=psfreq, type=args.listtype)
else:
if not psfreq.iscomplete():
raise RuntimeError(f"Specify either (--ra --dec --sw --sh) or --list.")
raise RuntimeError(f"Specify either (--ra --dec) or --list.")
psfreqs = [psfreq]
download(psfreqs, user=args.user, password=args.password, onmemory=False)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment