Skip to content

Commit

Permalink
Bind CustomHierarchy::datasets() to Python
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed May 24, 2023
1 parent 23202a3 commit 74f642c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/binding/python/CustomHierarchy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ using namespace openPMD;
void init_CustomHierarchy(py::module &m)
{
py::class_<CustomHierarchy, Container<CustomHierarchy>, Attributable>(
m, "CustomHierarchy");
m, "CustomHierarchy")
.def("datasets", &CustomHierarchy::datasets);
}

0 comments on commit 74f642c

Please sign in to comment.