Dear Omero team,
A quick question, I am developing a in-house image importer for Omero in Python. I have a simple question, can I use the Gateway to import images without the CLI ?
Best regards
Roland Guichard
rguichard wrote:I am developing a in-house image importer for Omero in Python. I have a simple question, can I use the Gateway to import images without the CLI ?
def full_import(self, client):
"""
Re-usable method for a basic import
"""
mrepo = self.get_managed_repo(client)
folder = self.create_test_dir()
fileset = self.create_fileset(folder)
settings = self.create_settings()
proc = mrepo.importFileset(fileset, settings)
try:
return self.assert_import(client, proc, folder)
finally:
proc.close()
Return to Developer Discussion
Users browsing this forum: Bing [Bot] and 1 guest