seung-lab / chunkflow

Compose chunk operators to create a pipeline for local or distributed petabyte-scale computation
https://pychunkflow.readthedocs.io/en/latest/
Apache License 2.0
50 stars 8 forks source link

Have gaussian_filter plugin operate on copy of input so it does not modify it in-place #300

Closed eschombu closed 8 months ago

eschombu commented 8 months ago

As currently implemented, the gaussian_filter plugin modifies its input data in-place. While more memory-efficient, this is unexpected and can cause problems downstream, so this change has it operate on a copy of the input data.