angelolab / angelolab/alpineer

Remove `plugin` argument of `io.imsave` to suppress warning logs

未关闭
#51 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**

Whenever `image_utils.save_image` is called, https://github.com/angelolab/alpineer/blob/main/src/alpineer/image_utils.py#L27 will throw a warning highlighting how `plugin` will be deprecated (we currently set it to `"tifffile"`).

This causes an issue when a function makes multiple calls to it (ex. iterating through each FOV on a run, and writing out each channel tiff using this function). This will throw a ton of warning messages to the user which can be confusing and indecipherable.

**Describe the solution you'd like**

We need to remove this `plugin` param. If it's absolutely necessary, we should find a way to replicate what it currently does.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。