Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images imported with --parallel-fileset and regex targets may be incorrectly linked #95

Open
sbesson opened this issue Jun 30, 2020 · 1 comment

Comments

@sbesson
Copy link
Member

sbesson commented Jun 30, 2020

When importing images using --parallel-fileset and regex targets, the images can end up being linked to the incorrect dataset.

The following local structure can be used to reproduce the issue:

images/
images/day1
images/day1/d1im2.fake
images/day1/d1im1.fake
images/day2
images/day2/d2im2.fake
images/day2/d2im1.fake

After creating the day1 and day2 datasets on the server, the four following commands have the following behavior:

  • omero import images -T "regex:+name:^.*images/(?<Container1>.*?)" imports 2 images into each dataset as expected
  • omero import images -T "regex:+name:^.*images/(?<Container1>.*?)" --parallel-fileset 2 imports 2 images into each dataset as expected
  • omero import images -T "regex:+name:^.*images/(?<Container1>.*?)" --parallel-fileset 3 imports 3 images into the day1 dataset and 1 image into the day2 dataset
  • omero import images -T "regex:+name:^.*images/(?<Container1>.*?)" --parallel-fileset 4 imports all 4 images into the day1 dataset
@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/parallel-imports-into-datasets-created-using-regular-expressions/39587/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants