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

PadoDataset.ingest_obj errors if same identifier #11

Open
1 task
ap-- opened this issue Sep 21, 2022 · 0 comments
Open
1 task

PadoDataset.ingest_obj errors if same identifier #11

ap-- opened this issue Sep 21, 2022 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@ap--
Copy link
Contributor

ap-- commented Sep 21, 2022

ds = PadoDataset(None, mode="w")
ds.ingest_obj(ds0)
ds.ingest_obj(ds1)

returns an error.

Temporary solution

ds.ingest_obj(ImageProvider(ds1.images, identifier="something_else")))
ds.ingest_obj(MetadataProvider(ds1.metadata, identifier="something_else")))
...

Todo:

  • I need to define how two providers are merged, and what checks are going to be in place.
@ap-- ap-- added the 🐛 bug Something isn't working label Sep 21, 2022
@ap-- ap-- mentioned this issue Sep 21, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant