Skip to content
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

'delete existing measurements' deletes all OMERO attachments #35

Open
Rdornier opened this issue Sep 19, 2024 · 0 comments
Open

'delete existing measurements' deletes all OMERO attachments #35

Rdornier opened this issue Sep 19, 2024 · 0 comments

Comments

@Rdornier
Copy link

When sending Annotations to OMERO, the menu gives the option to Delete existing measurments on OMERO.
If this box is ticked, then all attachments are deleted from the current image on OMERO.

This is extremely annoying as the attachments can also be figure pdf, protocoles, excel tables...which can be completly unrelated to the current QuPath project. Those files have to be kept on OMERO ; only QuPath measurments tables have to be clean.

In our implementation, I simply filter files according to the their extension and their name (the name should match the template). But I can also suggest you another way to nicely filter the files that are relevant to delete.
I didn't yet implemented it in our extension (but planned to do it at some point) but you can create a specific namespace for all files/KVP related to QuPath. Then, by filtering all the files under that particular namespace, it becomes easy to delete only the right files, without introducing a regex comparison on the file name/extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant