add test for 2D CLI#128
Conversation
|
Is it OK if we just choose Or will it break some older scripts that assume |
|
Maybe this would then justify an increase in version number (minor only). What do you think @constantinpape ? |
|
I agree @martinschorb. We should switch the default and then bump the minor version. |
|
looks like there are a bunch of tests relying on the default. |
constantinpape
left a comment
There was a problem hiding this comment.
The changes look good now. But the default data format should also be changed for other functions, e.g. https://github.com/mobie/mobie-utils-python/blob/master/mobie/segmentation.py#L20.
But we can also do this in a separate PR and merge this one now.
|
I found that this test is full of explicit bdv.n5 calls. https://github.com/mobie/mobie-utils-python/blob/master/test/metadata/test_source_metadata.py But I don't fully understand the way these tests work and if the format plays a role at all for them. |
The reason is that this test checks for the json validation of the source field and has some specific settings for I think we can leave this test as it is. |
|
I have updated the remaining places where the default file format was still |
|
Just fyi @martinschorb, there is some additional logic needed to support ome.zarr for all the scripts. This is in principle not a problem, but I am not 100% sure when I have time to implement it. If you think we should get this out as soon as possible we can also skip this and do the update already. (This is only for some rather obscure functionality, so I think it would not affect any users.) |
|
I am totally fine with some functionality being restricted to (legacy) file formats. |
this addresses #127
Test fails to demonstrate the issue. WIP