Closed
Description
Following some discussions with Brinda, I wanted to generate ModelCIF files which additionally to ma_target_ref_db_details also fill the struct_ref category. I figured, I could just do that by adding ihm.reference.Reference
objects to the references
list in modelcif.Entity
(which is identical to ihm.Entity
), but that didn't work.
I think that for this to work, one would only need to include _StructRefDumper
to the modelcif.dumper
and restrict _StructRefDumper
to only process subclasses of ihm.reference.Reference
and _TargetRefDBDumper
to only process subclasses of modelcif.reference.TargetReference
. So this should be a fairly minor change which would enable to easily add both types of references.
Do you think this would work?