Skip to content

Commit

Permalink
Merge pull request #42 from melvingelbard/omero-fix
Browse files Browse the repository at this point in the history
Note about sending detections to OMERO
  • Loading branch information
petebankhead committed Sep 5, 2022
2 parents 2c2eaeb + 6ce7d74 commit 5f31e18
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/advanced/omero.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,15 @@ As the object classes between OMERO and QuPath are different, some information m
:class: shadow-image

.. TIP::
You can also send objects (**annotations** and/or **detections**) to OMERO via scripting with the following commands:
You can also send objects to OMERO via scripting with the following command:

.. code-block:: groovy
import qupath.lib.images.servers.omero.OmeroTools
OmeroTools.writePathObjects(getSelectedObjects(), getCurrentServer())
OmeroTools.writePathObjects(getAnnotationObjects(), getCurrentServer())
You'll notice that it is indeed possible to send detection objects as well (e.g. with `getDetectionObjects()`). However, detection objects such as cells are not fully supported.
Additionally, the `writePathObjects(..)` method was not designed for processing too many objects. So beware not to send a huge amount of objects at once!


Managing OMERO clients
Expand Down

0 comments on commit 5f31e18

Please sign in to comment.