Setting CIFData with an empty array is currently not caught, although the CIF format does not allow empty categories. This may happen rather often implicitly when setting a structure with an empty BondList (not None, but length 0). This is an example of a resulting malformed CIF file:
Setting
CIFData
with an empty array is currently not caught, although the CIF format does not allow empty categories. This may happen rather often implicitly when setting a structure with an emptyBondList
(notNone
, but length 0). This is an example of a resulting malformed CIF file: