We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Annotation is added, but it is not saved, is there any save function that I am missing?
qp = QuPathProject(project_path, 'r+')
image = qp.images[4]
square = Polygon([[0, 0], [0, 1000], [1000, 1000], [1000, 0]])
image.hierarchy.add_annotation(square)
The text was updated successfully, but these errors were encountered:
Hello @delta2golf,
You need to call qp.save() or use QuPathProject in a context manager.
qp.save()
Sorry, something went wrong.
No branches or pull requests
Annotation is added, but it is not saved, is there any save function that I am missing?
qp = QuPathProject(project_path, 'r+')
image = qp.images[4]
square = Polygon([[0, 0], [0, 1000], [1000, 1000], [1000, 0]])
image.hierarchy.add_annotation(square)
The text was updated successfully, but these errors were encountered: