Files
galaxy/test/unit/data
mvdbeek 6231f4feb0 Remove `num_unique_values` tiff metadata element
This was added in https://github.com/galaxyproject/galaxy/pull/18951 but
it's memory consumption scales with input size. On a 5.5GB TIFF file
this consumed a peak of 18GB of memory.

@kostrykin added a workaround for the memory consumption in
https://github.com/galaxyproject/galaxy/pull/19830, but this now very
slow.

Besides improving the efficient, Perhaps there is a more gentle way to approach

> Many tools assume that images are binary, or label maps, for example, and it makes no sense to run those tools on other images.

?

Could those tools just error out, and/or consume a different datatype ?
Do we need the full unique values, or is it ok to just check if it's
more than `n` unique values ?
2025-06-15 11:44:10 +02:00
..
2025-05-07 10:45:12 +01:00
2025-02-25 19:20:46 +00:00