Skip to content

Instantly share code, notes, and snippets.

@rgozim
rgozim / .gradle
Created May 1, 2019 12:58
build.gradle with bom
plugins {
id "java-library"
id "maven-publish"
id "org.openmicroscopy.project" version "5.5.0-SNAPSHOT"
id "org.openmicroscopy.dsl" version "5.5.0-SNAPSHOT"
id "io.spring.dependency-management" version "1.0.6.RELEASE"
}
group = "org.openmicroscopy"
version = "5.5.0-SNAPSHOT"
import omero
from omero.gateway import BlitzGateway
from omero.sys import ParametersI
from omero.rtypes import rint
import requests
USERNAME = "root"
PASSWORD = "omero"
conn = BlitzGateway(USERNAME, PASSWORD, host="localhost", port=4064)
conn.connect()