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

Bug: size calculation is wrong when there are no matching items #77

Open
1 task done
zoidy opened this issue Oct 25, 2023 · 0 comments
Open
1 task done

Bug: size calculation is wrong when there are no matching items #77

zoidy opened this issue Oct 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@zoidy
Copy link
Collaborator

zoidy commented Oct 25, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When the IDs to match are given via the --ids parameter and none of them match an actual ID, the size calculation for the associated curation folders is wrong (should be zero but it isn't)

Steps To Reproduce

  • run the software with --ids 2229467800 (this is an invalid ID)
  • Observe the following: Total size of the curated folders for the matched articles: 338189063285 bytes (it looks like it's taking the size of the entire curation folder but it should actually be zero)
@zoidy zoidy added the bug Something isn't working label Oct 25, 2023
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