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

split_pixels throws an error on empty files #305

Closed
1 of 2 tasks
delucchi-cmu opened this issue May 13, 2024 · 0 comments · Fixed by #309
Closed
1 of 2 tasks

split_pixels throws an error on empty files #305

delucchi-cmu opened this issue May 13, 2024 · 0 comments · Fixed by #309
Assignees
Labels
bug Something isn't working

Comments

@delucchi-cmu
Copy link
Contributor

Bug report

If some input files are present but empty, the mapping stage succeeds, but the splitting stage can fail when freeing memory that wasn't allocated.

Only free (call del) inside the loop to read over files.

Before submitting
Please check the following:

  • [z] I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
  • I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
  • If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants