From 40aec15e64ad31600d3298581eedf49aa8c8deab Mon Sep 17 00:00:00 2001 From: David Stirling Date: Wed, 15 Nov 2023 09:51:22 +0000 Subject: [PATCH] Support uploading to Project and Screen objects --- README.md | 2 +- omero2pandas/upload.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a9166c..5224f67 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ provide credentials, a token or a connection object. To upload data, the user needs to specify which OMERO object the table will be associated with. To do this, the third and fourth arguments should be the object ID and object type. Supported objects are Dataset, -Well, Plate and Image. +Well, Plate, Project, Screen and Image. ```python import pandas diff --git a/omero2pandas/upload.py b/omero2pandas/upload.py index b564068..3eb5afe 100644 --- a/omero2pandas/upload.py +++ b/omero2pandas/upload.py @@ -39,6 +39,8 @@ "Image": omero.model.ImageAnnotationLinkI, "Dataset": omero.model.DatasetAnnotationLinkI, "Plate": omero.model.PlateAnnotationLinkI, + "Project": omero.model.ProjectAnnotationLinkI, + "Screen": omero.model.ScreenAnnotationLinkI, "Well": omero.model.WellAnnotationLinkI, } @@ -46,6 +48,8 @@ "Image": omero.model.ImageI, "Dataset": omero.model.DatasetI, "Plate": omero.model.PlateI, + "Project": omero.model.ProjectI, + "Screen": omero.model.ScreenI, "Well": omero.model.WellI, }