- fixing PyShape

This commit is contained in:
w.pomp
2026-07-22 16:13:54 +02:00
parent 0ed70edd3e
commit 1471ec00af
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -1917,7 +1917,7 @@ impl PyShape {
fn __repr__(&self) -> String {
format!(
"PyShape({}, {}, {}, {}, {})",
"Shape({}, {}, {}, {}, {})",
self.inner.c, self.inner.z, self.inner.t, self.inner.x, self.inner.y
)
}
@@ -2011,6 +2011,11 @@ impl PyShape {
self.inner.x,
]
}
#[getter]
fn axes(&self) -> String {
self.inner.order.iter().map(|axis| format!("{}", axis)).collect::<String>()
}
}
pub(crate) fn ndbioimage_file() -> PathBuf {