Skip to content

not_modeled_residue_ranges in python-ihm #37

@gtauriello

Description

@gtauriello

@benmwebb I ran into a new issue as I updated with the latest python-ihm (related to ihmwg/python-ihm#150)...

There is now a required not_modeled_residue_ranges attribute for models which is not set by default for modelcif.model.Model and its subclasses (which makes it fail in the dumper afterwards).

Basically I was expected it to "just work" without any changes on my end: i.e. I didn't think I would need to add not_modeled_residue_ranges to my model classes and I expected to have default behaviour which checks which residues were covered by coordinates and fills that table automatically (e.g. as I think is done in _get_not_modeled_residues in ihm/util/make_mmcif.py?). For the current model set I am working on, I will work around it of course, but just wondering if this can be handled automatically...

Also @brindakv: I was not aware of _pdbx_poly_seq_scheme needing that behaviour for missing residues. We had such cases in ModelArchive so far and will need to remediate them (e.g. ma-fesnov-nov003nm with "UNK" in entity sequence which are not covered by coordinates).
Are there any other fields which need to be considered when residues are missing?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions