You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ctrueden what does "better" mean in this context? We already call sj.to_python on the properties...
If we're talking about the metadata, what would you want to see? Does xarray offer settings aligning with this metadata?
Do you just want to see a better stringification? Or would you want to convert these properties into dicts?
My goal with #200 would be to eliminate the need to do this. If a Java-side attribute can't be converted to something Pythonic, I think it's OK to drop it. We could at least make it configurable somehow.
So, behavior in order of priority:
Convert property value into something Pythonic.
Drop properties which cannot be converted.
The remaining question is just: can io.scif.FieldPrinter and io.scif.filters.PlaneSeparatorMetadata be converted? I'm pretty confident that FieldPrinter can be converted; the entire point of that class was to ease printing of key/value pairs. We probably just need to implement a toString() method somewhere on the Java side. For PlaneSeparatorMetadata I don't know off the top of my head; investigation needed.
Note poor stringification of
scifio.metadata.image
andscifio.metadata.global
data structures above.See also spatial-image/multiscale-spatial-image#23
The text was updated successfully, but these errors were encountered: