The current way of adding an array to a modo includes 2 steps:
add the element specifying the array metadata to modo
add the array to modos zarr group
For the user these steps can be confusing and we allow inconsistencies, e.g. specifying any array path in the element, unrelated where the array is added in the hierarchy. Also the zarr framework can feel cumbersome, if not used to.
[ ] Add modo api function modo.add_array() to wrap both steps
[ ] Update docs in docs/tutorials/modo_array()
Open question:
What about modo.add_element()? Do we allow adding array metadata (step 1above)?
Should modo_add_array() also take care of rowname/colname handling?
The current way of adding an array to a modo includes 2 steps:
For the user these steps can be confusing and we allow inconsistencies, e.g. specifying any array path in the element, unrelated where the array is added in the hierarchy. Also the zarr framework can feel cumbersome, if not used to.
modo.add_array()
to wrap both stepsdocs/tutorials/modo_array()
Open question:
modo.add_element()
? Do we allow adding array metadata (step 1above)?modo_add_array()
also take care of rowname/colname handling?