-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move add_column_to_layer_tabular_data
upstream
#83
Comments
@haesleinhuepf I'm all for it! It would fit there better anyway since it is mainly a table specific function! And regarding the issue raised I think this function would circumvent what @jo-mueller was talking about. |
Hi @haesleinhuepf @Cryaaa , sounds like a good idea to me - another step of taking infrastructure code out of the clusters plotter and making it a bit more lightweight :) |
Since we are already discussing about it here - would it be desirable to have this function throw a warning if, for instance, the passed column name was already in the target table? I created a simple implementation here. |
Yes, I think this is a good idea. Furthermore, how about adding a parameter |
I'm a big fan of this method:
add_column_to_layer_tabular_data
Would anyone mind if we move it to napari-skimage-regionprops? For backwards compatibility we could then import it in utilities like this:
With this import, no code would have to be changed immediately.
I'm also thinking if this function (or a similar function) would resolve haesleinhuepf/napari-skimage-regionprops#16
Maybe @jo-mueller has an opinion?
The text was updated successfully, but these errors were encountered: