diff --git a/TM/waveformops.py b/TM/waveformops.py index 515dcd3109431275fdff8d4f3e4400059366083e..48d4eb97241afefb826ad1dda2102cf1d0580e30 100644 --- a/TM/waveformops.py +++ b/TM/waveformops.py @@ -412,13 +412,6 @@ def _waveform_processing_trace(trace, resampling, procType='bandpass', freqMax=N # Separate each masked clump into an individual (no-gap) trace trace = separate_masked_trace(trace) # is now a stream (without array masks) - # Raise Warning if too many gaps - if len(trace) > 50: - raise Warning("Too many gaps; chunk lengths may not agree among channels.") - # TODO: Possible solution: triming each sub-trace to indiv. common start/end - # Test-case: MATTE 2016-06-29 - # But where to implement? in main()? - # Remove traces that are too small (<= 2 * template duration) for subtrace in trace: if subtrace.stats.npts <= (2 * config.duration) * \