From 51ce21a2cc91f9eb6fe373884e143268de5e00eb Mon Sep 17 00:00:00 2001 From: Iara Ota Date: Fri, 17 May 2024 11:18:11 -0500 Subject: [PATCH] fix lint --- gwsumm/data/coherence.py | 2 +- gwsumm/data/spectral.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gwsumm/data/coherence.py b/gwsumm/data/coherence.py index 53223c18..bfe947e5 100644 --- a/gwsumm/data/coherence.py +++ b/gwsumm/data/coherence.py @@ -290,7 +290,7 @@ def _get_coherence_spectrogram(channel_pair, segments, config=None, globalv.SPECTROGRAMS[key].append(csg) globalv.SPECTROGRAMS[key].coalesce() else: - warnings.warn('NaN values found in the spectrogram, skipping...') + warnings.warn('NaN values found in the spectrogram.') if not return_: return diff --git a/gwsumm/data/spectral.py b/gwsumm/data/spectral.py index 8c3b3e1d..29f8387e 100644 --- a/gwsumm/data/spectral.py +++ b/gwsumm/data/spectral.py @@ -247,7 +247,7 @@ def add_spectrogram(specgram, key=None, coalesce=True): if coalesce: globalv.SPECTROGRAMS[key].coalesce() else: - warnings.warn('NaN values found in the spectrogram, skipping...') + warnings.warn('NaN values found in the spectrogram.') @use_segmentlist