- fixing PyShape
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user