Closed rdrighetto closed 5 years ago
Looks good to me. Ricardo, are you willing to add a test that does an append to test_mrcz.py
?
An appending test for a stack of 2D float32 images has been added.
Ok thanks, merging. I will look into pushing out a new release this week.
Hi Robb,
Would it be possible to push a new release to PyPI/conda-forge containing this bugfix? While it is already fixed here on the repo, I have mrcz as a dependency of another package I'm releasing on PyPI (https://github.com/C-CINA/focustools) and some of the features I'm implementing rely on this bugfix to work correctly.
Thanks!
Sure but let's look into this pixelsize issue first.
ioMRC.readMRCheader() returns 'slices', however it also requires 'slices' as an argument. This leads to a bug when trying to write (e.g. append) images to an existing MRC file. A possible workaround is to pass 'slices=None' as an argument in such a case.