Skip to content

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

@zoidy

Description

@zoidy

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions