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

Prevent loading of duplicate files into the same capture #92

Open
poynting opened this issue Nov 9, 2019 · 0 comments
Open

Prevent loading of duplicate files into the same capture #92

poynting opened this issue Nov 9, 2019 · 0 comments

Comments

@poynting
Copy link
Contributor

poynting commented Nov 9, 2019

If you try to load an imageset with two folders having copies of the same file, the data will combine successfully but will result in downstream issues due to 'extra' band/dls information returned by some methods of Capture.

I think the right thing to do here is to check the UUID of the image when adding it to a Capture object to prevent loading duplicates, even duplicates with different file names. Alternatively we could use the current Image object eq compare, but this should probably be updated to use the UUID as well.

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

1 participant