Skip to content

Commit 80e1899

Browse files
committed
Fixed typo in error message
1 parent d426c65 commit 80e1899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stumpy/aamp_motifs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def aamp_motifs(
248248

249249
if P.ndim != 1: # pragma: no cover
250250
raise ValueError(
251-
f"T is {P.ndim}-dimensional and must be 1-dimensional. "
251+
f"P is {P.ndim}-dimensional and must be 1-dimensional. "
252252
"Multidimensional motif discovery is not yet supported."
253253
)
254254

stumpy/motifs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def motifs(
262262

263263
if P.ndim != 1: # pragma: no cover
264264
raise ValueError(
265-
f"T is {P.ndim}-dimensional and must be 1-dimensional. "
265+
f"P is {P.ndim}-dimensional and must be 1-dimensional. "
266266
"Multidimensional motif discovery is not yet supported."
267267
)
268268

0 commit comments

Comments
 (0)