mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-15 08:47:14 +02:00
added some python tests
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 41s
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 41s
This commit is contained in:
@ -39,14 +39,6 @@ void define_cluster_file_io_bindings(py::module &m,
|
||||
return v;
|
||||
},
|
||||
py::return_value_policy::take_ownership)
|
||||
.def(
|
||||
"read_clusters",
|
||||
[](ClusterFile<ClusterType> &self, size_t n_clusters, ROI roi) {
|
||||
auto v = new ClusterVector<ClusterType>(
|
||||
self.read_clusters(n_clusters, roi));
|
||||
return v;
|
||||
},
|
||||
py::return_value_policy::take_ownership)
|
||||
.def("read_frame",
|
||||
[](ClusterFile<ClusterType> &self) {
|
||||
auto v = new ClusterVector<ClusterType>(self.read_frame());
|
||||
|
Reference in New Issue
Block a user