Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion omero2pandas/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def create_table(source, table_name, links, conn, chunk_size):
orig_file = table.getOriginalFile()
# Create FileAnnotation from OriginalFile
annotation = omero.model.FileAnnotationI()
annotation.file = orig_file
annotation.file = omero.model.OriginalFileI(orig_file.id.val, False)
annotation_obj = conn.getUpdateService().saveAndReturnObject(
annotation, {"omero.group": str(working_group)})
LOGGER.info(f"Generated FileAnnotation {annotation_obj.id.val} "
Expand Down