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 examples 11930 #2047

Merged
merged 7 commits into from Feb 4, 2014
Merged

Conversation

will-moore
Copy link
Member

Updated delete examples - see https://trac.openmicroscopy.org.uk/ome/ticket/11930

To test, run the Java and Python examples.

--rebased-to #2078

@sbesson
Copy link
Member

sbesson commented Jan 31, 2014

Tested the Java and the Python files against OMERO.server-5.0.0-rc1-306-77e3fe7-ice35-b205. Both delete functions completed successfully. Ready to merge.

doall.requests = dcs
handle = s.submit(doall)

callback = omero.callbacks.CmdCallbackI(c, handle)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback is not closed in a finally which will lead to resource exhaustion.

@will-moore
Copy link
Member Author

@joshmoore Won't be in today's build, but how does that look?

@joshmoore
Copy link
Member

Tested on gretzky:

omero@gretzky:~/slave/workspace/OMERO-5.0-merge-daily/src/examples/Delete$ env ICE_CONFIG=../../target/merge.config PYTHONPATH=../../dist/lib/python python FileAnnotationDelete.py 
OK

Thanks, @will-moore

joshmoore added a commit that referenced this pull request Feb 4, 2014
@joshmoore joshmoore merged commit 09db139 into ome:dev_5_0 Feb 4, 2014
@will-moore will-moore deleted the delete_examples_11930 branch February 7, 2014 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants