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

Blitz param types 11637 develop #1761

Merged
merged 3 commits into from
Nov 14, 2013

Conversation

will-moore
Copy link
Member

Fixes a couple of errors where Blitz gateway doesn't enforce the correct parameter types, noticed on howe. See https://trac.openmicroscopy.org.uk/ome/ticket/11637

To test, this should work without throwing exceptions:

ssh to gretzky...

$ cd lib/python/
$ python
>>> from omero.gateway import BlitzGateway
>>> conn = BlitzGateway("username", "password", host="localhost")
>>> conn.connect()
>>> image = conn.getObject("Image", <imageId>)
>>> image.setActiveChannels([1], [[10,100]])                # previously this threw an exception
>>> image.renderJpegRegion(0, 0, 0.1, 1.0, 10.1, 10)  # previously this threw an exception

Not entirely sure why these methods never failed for me on my local machine.

--rebased-from #1700

@mtbc
Copy link
Member

mtbc commented Nov 14, 2013

Good to merge.

joshmoore added a commit that referenced this pull request Nov 14, 2013
@joshmoore joshmoore merged commit a41c04e into ome:develop Nov 14, 2013
@will-moore will-moore deleted the blitz_param_types_11637_develop branch November 27, 2013 13:23
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

3 participants