Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Add guard for non-image files in image directory input #32

Description

@cfezequiel

It would be good to add some check in case there are non-image files in an image directory.

Describe the solution you'd like
A simple filter would suffice, e.g.

If not image file: 
    skip

Describe alternatives you've considered
A: Do nothing - potential for tool to fail while processing data, which could waste user's time
B: Filter at the DataFrame level - best not to propagate errors downstream

Additional context
See client._read_image_directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions