For example, adding to the end of examples/mkmodbase.py
with open('output2.cif', 'w') as fh:
modelcif.dumper.write(fh, [s])
causes the dumper to fail with
ValueError: <ihm.model.Atom object at 0x1028a5040> refers to an asym ID (A) that is not in this model's representation (which includes the following asym IDs: )
This is thrown by python-ihm's sanity checks. python-modelcif models don't have a Representation. We add a dummy one for Models we build ourselves, but clearly this is not working as intended for models we read from a file.
For example, adding to the end of
examples/mkmodbase.py
causes the dumper to fail with
This is thrown by python-ihm's sanity checks. python-modelcif models don't have a Representation. We add a dummy one for
Model
s we build ourselves, but clearly this is not working as intended for models we read from a file.