Skip to content

Commit

Permalink
ssins print_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Oct 15, 2024
1 parent 65ccbb9 commit 40e21e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion demo/04_ssins.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from itertools import groupby
import re
import time
import traceback
from pathlib import Path
import pandas as pd

Expand Down Expand Up @@ -677,7 +678,8 @@ def main():

try:
base = read_select(ss, args)
except ValueError:
except ValueError as exc:
traceback.print_exception(exc)
parser.print_usage()
exit(1)

Expand Down
2 changes: 0 additions & 2 deletions demo/11_allsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def main():
# t_ref_zerohrs = Time(t_ref_rdate_str, format="iso", scale="utc")
t_ref_iso_str = t_ref.strftime(r"%Y-%m-%dT%H:%M:%S")

breakpoint()

if not check_diff_uniformity(times.to_value("gps")):
raise UserWarning("uniform spacing assumed in time axis")

Expand Down

0 comments on commit 40e21e1

Please sign in to comment.