Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add create_dataset convenience forms for dataspace #934

Merged
merged 1 commit into from
May 9, 2022

Conversation

mkitti
Copy link
Member

@mkitti mkitti commented May 8, 2022

This pull requests adds some convenience forms for create_dataset when specifying a dataspace. It allows the dimensions to specified as a single tuple or as Ints. For example,

    h5open(fn, "w") do f
        create_dataset(f, "test", Int, (128, 32))
        create_dataset(f, "test2", Float64, 128, 64)
    end

@musm
Copy link
Member

musm commented May 9, 2022

Makes sense

@musm musm merged commit 7ccacd0 into master May 9, 2022
@musm musm deleted the mkitti/create_dataset_convenience branch May 9, 2022 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants