Skip to content

Commit d5bcf5f

Browse files
committed
fix warning message
1 parent cee9438 commit d5bcf5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dascore/utils/chunk.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ def _get_continuity_group_number(self, start, stop, step) -> pd.Series:
203203
has_gap = start_sorted > end_markers
204204
if has_gap.any():
205205
msg = (
206-
f"There is a gap in the patch. As a result, some patches in the "
207-
f"chunked spool may be unevenly sampled. However, they are "
208-
f"still considered contiguous as a tolerance of {self._tolerance} "
206+
f"There is a gap in the patch along dimension {self._name}. "
207+
f"As a result, some patches in the chunked spool may be "
208+
f"unevenly sampled. However, they are still considered "
209+
f"contiguous because a tolerance of {self._tolerance} "
209210
f"was used in the chunk function."
210211
)
211212
warnings.warn(msg, UserWarning, stacklevel=3)

0 commit comments

Comments
 (0)