Skip to content

Commit

Permalink
Fixing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed May 7, 2024
1 parent 54d26bc commit 8658a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stingray/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2653,7 +2653,7 @@ def analyze_segments(self, func, segment_size, fraction_step=1, **kwargs):
for i, (st, sp, tst, tsp) in enumerate(zip(start, stop, start_times, stop_times)):
if sp - st <= 1:
warnings.warn(
f"Segment {i} ({tst}--{tsp}) has one data point or less. Skipping it."
f"Segment {i} ({tst}--{tsp}) has one data point or less. "
)
results.append(None)
continue
Expand Down

0 comments on commit 8658a14

Please sign in to comment.