Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Iara Ota committed May 17, 2024
1 parent 6156857 commit 51ce21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gwsumm/data/coherence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Check warning on line 293 in gwsumm/data/coherence.py

View check run for this annotation

Codecov / codecov/patch

gwsumm/data/coherence.py#L293

Added line #L293 was not covered by tests

if not return_:
return
Expand Down
2 changes: 1 addition & 1 deletion gwsumm/data/spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Check warning on line 250 in gwsumm/data/spectral.py

View check run for this annotation

Codecov / codecov/patch

gwsumm/data/spectral.py#L250

Added line #L250 was not covered by tests


@use_segmentlist
Expand Down

0 comments on commit 51ce21a

Please sign in to comment.