From b7eb2ff1a6fbe078714206854b7da4bff6693fc4 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 22 Jun 2023 15:00:18 +0200 Subject: [PATCH] Fix pointer to third --- src/omero_mkngff/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omero_mkngff/__init__.py b/src/omero_mkngff/__init__.py index 3cedac6..0bb76a9 100644 --- a/src/omero_mkngff/__init__.py +++ b/src/omero_mkngff/__init__.py @@ -105,7 +105,7 @@ new_fileset, new_file, i-1, 'unknown'); -- use the third file as the target for setId (assumed to be the first .zattrs) - if i = 1 then + if i = 3 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;