Skip to content

Do not convert arrays to dask #243

Open

Description

@joshua-gould

Currently, arrays for labels, images, etc. are required to be dask arrays. This makes sense when loading data from a store, but doesn't make sense to me when creating in memory (e.g. spatialdata.models.Labels2DModel.parse(np.array([[0, 0], [0, 0]]), dims=["y", "x"]))

Activity

  1. LucaMarconato commented on May 9, 2023

    @LucaMarconato
    Member

    Hi Jousha, thanks for the feeback! I agree with you. We are planning to work on the support both dask and non-dask objects in a new refactoring of the data model that we plan to do in a hackathon in 2 weeks. Now that this issue has been reported we'll try to prioritize it. CC @giovp

  2. lopollar commented on May 17, 2023

    @lopollar

    Hi both, I do have the same issues, both for my points layer as for my segmentation masks. It would be great if this can be solved.

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