[cctbxbb] Deleting batch from mtz batch header via iotbx.mtz

Ralf Grosse-Kunstleve rwgrosse-kunstleve at lbl.gov
Fri Sep 9 11:36:48 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20110909/bc4c9d81/attachment.htm>


More information about the cctbxbb mailing list