Uncap watershed detail in the Node binding + sync docs

`6f163fc` widened watershed_detail from u8 to u32 in the core, CLI, and
Python binding but not the Node/wasm binding, which still assigned a u8 to
config.watershed_detail — a wasm build error (E0308). Widen the Node
Options field to u32 and refresh every "0..=255" watershed doc (CLI help,
Config field, .pyi, index.d.ts, and all three READMEs) to reflect that the
level is now uncapped (default 128; higher = more regions).
This commit is contained in:
Chris Tsang
2026-08-08 21:50:55 +01:00
parent 0d77ecf6f9
commit 74da0efb84
7 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ struct Args {
#[arg(long)]
adaptive_t: Option<f64>,
/// Watershed clustering: hierarchy cut level (0..=255, higher = more regions).
/// Watershed clustering: hierarchy cut level (default 128; higher = more regions, uncapped).
#[arg(long, value_parser = clap::value_parser!(u32))]
watershed_detail: Option<u32>,
}