Skip to content

Commit

Permalink
Use metadata.ome.xml file for pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Jun 22, 2023
1 parent b7eb2ff commit fe4e8ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/omero_mkngff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@
values (nextval('seq_filesetentry'), {DETAILS2},
new_fileset, new_file, i-1, 'unknown');
-- use the third file as the target for setId (assumed to be the first .zattrs)
if i = 3 then
if info[i][2] = 'METADATA.ome.xml' then
update pixels set path = trim(trailing '/' from info[i][1]), name = info[i][2]
from (select id from image where image.fileset = old_fileset) as subquery
where pixels.image = subquery.id;
Expand Down

0 comments on commit fe4e8ae

Please sign in to comment.