Commit 428b3165 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

core: fix py3 for no detections

parent 17ed489b
......@@ -413,9 +413,9 @@ def search(
num.max(ydata_window),
num.median(ydata_window)))
tpeaks, apeaks = zip(*[(tpeak, apeak) for (tpeak, apeak) in zip(
tpeaks, apeaks = list(zip(*[(tpeak, apeak) for (tpeak, apeak) in zip(
*tr_stackmax.peaks(config.detector_threshold, tpeaksearch)) if
wmin <= tpeak and tpeak < wmax]) or ([], [])
wmin <= tpeak and tpeak < wmax])) or ([], [])
tr_stackmax_indx = tr_stackmax.copy(data=False)
......
Markdown is supported
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