Commit 2904edcd authored by Geoffrey Mo's avatar Geoffrey Mo
Browse files

Fix failing test due to renamed gwpy error

parent 3d7a234f
......@@ -128,7 +128,7 @@ def make_omegascan(ifo, t0, durs):
qgrams = [ts.q_transform(
frange=(20, 4096), gps=t0, outseg=(t0 - durs[n], t0 + durs[n]),
logf=True) for n in range(len(durs))]
except (IORegistryError, FloatingPointError):
except (IndexError, FloatingPointError):
# data from cache can't be properly read, or data is weird
fig = plt.figure()
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