Skip to content

Better error reporting when input folder contains no valid images #51

@SamCWill

Description

@SamCWill

Currently, when the input folder contains no images with valid file extensions (.tif, .jpg, .TIF, .JPG), the following error is thrown:
AttributeError: Can only use .str accessor with string values!
This is not helpful to the user. It would be better to catch this error, and output an error message like:
No images of supported types (.tif/.jpg) found in input directory or its sub-directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions