Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Allow write to accept file-like objects and HDF5 File or Group #378

Open
@Helveg

Description

@Helveg

I'd like to store the created files a bit more dynamically than just in a file on the filesystem, to enable various use cases, and because it is conventional in Python, can the write function also accept file-like objects (anything with a write function) to write the morphology to?

Additionally, when storing HDF5, can we pass the handle to a h5py.File or h5py.Group so that we may store morphologies inside the hierarchy of existing HDF5 files.

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