We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a302e commit 0488c03Copy full SHA for 0488c03
connect.py
@@ -0,0 +1,11 @@
1
+import sys
2
+from omero.gateway import BlitzGateway
3
+HOST = 'ws://idr.openmicroscopy.org/omero-ws'
4
+conn = BlitzGateway('public', 'public',
5
+ host=HOST, secure=True)
6
+if conn.connect() is True:
7
+ print("connected")
8
+ conn.close()
9
+else:
10
+ print("Connection failed")
11
+sys.exit()
0 commit comments