aliby.io.omero.BridgeOmero¶
- class BridgeOmero(host=None, username=None, password=None, ome_id=None)[source]¶
Bases:
object
Core to interact with OMERO, using credentials or fetching them from h5 file (temporary trick). See https://docs.openmicroscopy.org/omero/5.6.0/developers/Python.html
- Attributes
- file_annotations
- ome_class
Methods
add_file_as_annotation
(file_to_upload, **kwargs)Upload annotation to object on OMERO server.
server_info_from_h5
(filepath)Return server info from hdf5 file.
create_gate
set_id
- Parameters
- hoststring
web address of OMERO host
- username: string
- passwordstring
- ome_id: Optional int
Unique identifier on Omero database. Used to fetch specific objects.
- Attributes
- file_annotations
- ome_class
Methods
add_file_as_annotation
(file_to_upload, **kwargs)Upload annotation to object on OMERO server.
server_info_from_h5
(filepath)Return server info from hdf5 file.
create_gate
set_id
- __init__(host=None, username=None, password=None, ome_id=None)[source]¶
- Parameters
- hoststring
web address of OMERO host
- username: string
- passwordstring
- ome_id: Optional int
Unique identifier on Omero database. Used to fetch specific objects.
Methods
__init__
([host, username, password, ome_id])- Parameters
add_file_as_annotation
(file_to_upload, **kwargs)Upload annotation to object on OMERO server.
create_gate
()- rtype
bool
server_info_from_h5
(filepath)Return server info from hdf5 file.
set_id
(ome_id)Attributes
file_annotations
ome_class