created a volume using factory.volumeFromDescription
used volumes.setHyperslab to write data in it
closed the volume using volumes.closeVolume
Using that workflow, the check at the beginning of closeVolume will not detect that data was written in the volume, leading to the volume being deleted, even if it was perfectly fine.
I managed to solve the issue by adding
self._data_written_to_file = True
at the end of setHyperslab, but I suspect there might be a better way to solve that?
I encountered an issue were I:
Using that workflow, the check at the beginning of closeVolume will not detect that data was written in the volume, leading to the volume being deleted, even if it was perfectly fine. I managed to solve the issue by adding
self._data_written_to_file = True
at the end of setHyperslab, but I suspect there might be a better way to solve that?