We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487de57 commit 147a5b3Copy full SHA for 147a5b3
requake/plot/plot_pair.py
@@ -37,7 +37,11 @@ def _get_pair():
37
:raises ValueError: If an error occurs while reading the catalog.
38
:raises FileNotFoundError: If the catalog file is not found.
39
"""
40
- catalog = read_stored_catalog()
+ try:
41
+ catalog = read_stored_catalog()
42
+ except FileNotFoundError as msg:
43
+ logger.error(msg)
44
+ rq_exit(1)
45
fix_non_locatable_events(catalog)
46
evid1 = config.args.evid1
47
evid2 = config.args.evid2
0 commit comments