Skip to content

Commit 26ca581

Browse files
committed
slghtly improved warning emssage
1 parent ec701ab commit 26ca581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function clusterdepth(
5959
data_obs = sidefun.(statfun(data))
6060

6161
if show_warnings && (any(data_obs[:, 1] .> τ) || any(data_obs[:, end] .> τ))
62-
@warn "Your data shows a cluster that starts before the first sample, or ends after the last sample. There exists a fundamental limit in the ClusterDepth method, that the clusterdepth for such a cluster cannot be determined. Maybe you can extend the epoch to include more samples?"
62+
@warn "Your data shows a cluster that starts before the first sample, or ends after the last sample. There exists a fundamental limit in the ClusterDepth method, that the clusterdepth for such a cluster cannot be determined. Maybe you can extend the epoch to include more samples? This 'half'-cluster will be ignored and cannot become significant"
6363
end
6464
cdmTuple = perm_clusterdepths_both(
6565
rng,

0 commit comments

Comments
 (0)