mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-12 15:27:13 +02:00
func to prop
This commit is contained in:
@ -47,8 +47,8 @@ void define_file_io_bindings(py::module &m) {
|
||||
})
|
||||
.def("seek", &CtbRawFile::seek)
|
||||
.def("tell", &CtbRawFile::tell)
|
||||
.def("image_size_in_bytes", &CtbRawFile::image_size_in_bytes)
|
||||
.def("frames_in_file", &CtbRawFile::frames_in_file);
|
||||
.def_property_readonly("image_size_in_bytes", &CtbRawFile::image_size_in_bytes)
|
||||
.def_property_readonly("frames_in_file", &CtbRawFile::frames_in_file);
|
||||
|
||||
py::class_<File>(m, "File")
|
||||
.def(py::init([](const std::filesystem::path &fname) {
|
||||
|
Reference in New Issue
Block a user