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

Fix creating empty Dataset in create_distiset function #492

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

gabrielmbmb
Copy link
Member

Description

When calling the create_distiset function and there were no output files from a step, load_dataset would raise an error because it cannot create an empty dataset. This PR updates the code so it first checks if there are files to create the dataset, and if there isn't any then warns the user.

In addition, this PR updates the logging setup to stop the QueueListener after running the pipeline.

@gabrielmbmb gabrielmbmb added the fix label Apr 1, 2024
@gabrielmbmb gabrielmbmb added this to the 1.0.0 milestone Apr 1, 2024
@gabrielmbmb gabrielmbmb self-assigned this Apr 1, 2024
@gabrielmbmb gabrielmbmb merged commit 25eff82 into core-refactor Apr 1, 2024
4 checks passed
@gabrielmbmb gabrielmbmb deleted the fix_create_distiset_empty branch April 1, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant