Skip to content

Allow additional SpatialImage file extensions #159

Open

Description

@andrewGhazi

Hi there, just wanted to file an issue on a small roadblock I ran into. The dataset (HEST [1]) I'm working with has some downscaled images with the extension .jpeg which trips the validity check here which only looks for .jpg. It would be convenient to add patterns for jpeg, tiff, PNG, etc. so that users don't need to rename their files. I can submit a PR if that would be helpful.

[1] https://huggingface.co/datasets/MahmoodLab/hest

Activity

  1. drighelli commented on Nov 5, 2024

    @drighelli
    Owner

    Hi @andrewGhazi,

    thanks for your issue, I think this would only improve the flexibility of the class, as far as the file type is supported by the spatialImage methods.

    So, if you want to write a PR, please provide a small example with working images.

    Thanks,
    Dario

  2. andrewGhazi commented on Nov 7, 2024

    @andrewGhazi
    Author

    I submitted a PR here #160 👍

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions