Skip to content

Commit

Permalink
Fix test import failure
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed May 27, 2024
1 parent 6cf4adf commit 7829930
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omero_script_ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from omeroweb.webclient.decorators import login_required
from omeroweb.webclient.controller.container import BaseContainer

from .util import read_csv
from . import util

ALLOWED_PARAM = {
"Project": ["Project", "Dataset", "Image"],
Expand Down Expand Up @@ -118,8 +118,8 @@ def read_csv_annotation(request, ann_id, conn=None, **kwargs):
return JsonResponse({"Error": "Annotation has no Original File"})
delimiter = None
import_tags = True
rows, header, namespaces = read_csv(conn, original_file._obj,
delimiter, import_tags)
rows, header, namespaces = util.read_csv(conn, original_file._obj,
delimiter, import_tags)
# Don't send all the rows back - just need enough for preview
row_count = len(rows)
rows = rows[:10]
Expand Down

0 comments on commit 7829930

Please sign in to comment.