Hi Graeme,

Is there a way to delete a batch from an mtz file batch header? Been trying to do this and it looks like it is impossible – though you can add batches. 

 

Clearly there is the worry that the subsequent batch column may then refer to a missing batch, however…


Yes, I didn't wrap the entire CMTZ API (parts I wasn't sure are safe).
My idea was that you simply make a new iotbx.mtz.object and copy only the batches you want.
Patches welcome to add the delete support.

Ralf