Skip to content

Commit

Permalink
Merge pull request #91 from jburel/replace_omero_utils
Browse files Browse the repository at this point in the history
Replace omero utils
  • Loading branch information
jburel authored Oct 31, 2024
2 parents ed3ad0a + 35a8491 commit 3a505e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .omeroci/app-deps
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e
set -u

# for test setup
/opt/omero/web/venv3/bin/pip3 install Jinja2
/opt/omero/web/venv3/bin/pip3 install omero-metadata
6 changes: 2 additions & 4 deletions omero_mapr/testlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
from omero.model import ScreenI
from omero.rtypes import rstring, unwrap
from omero.constants.namespaces import NSBULKANNOTATIONS
from omero.util.populate_metadata import BulkToMapAnnotationContext
from omero.util.populate_metadata import ParsingContext
from omero_metadata.populate import BulkToMapAnnotationContext
from omero_metadata.populate import ParsingContext

from omeroweb.testlib import IWebTest

Expand Down Expand Up @@ -97,7 +97,6 @@ def populate_data(self, csv, cfg):

ctx = ParsingContext(self.client, self.screen.proxy(), file=csv)
ctx.parse()
ctx.write_to_omero()

# Get file annotations
anns = self.get_screen_annotations()
Expand All @@ -110,4 +109,3 @@ def populate_data(self, csv, cfg):
ctx = BulkToMapAnnotationContext(
self.client, self.screen.proxy(), fileid=fileid, cfg=cfg)
ctx.parse()
ctx.write_to_omero()
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pytest==3.3.2
pytest-django==3.1.2
pytest-runner==3.0.1
PyYAML
Jinja2
omero-metadata

0 comments on commit 3a505e4

Please sign in to comment.