Skip to content

Add struct_ref support #34

Closed
Closed
@gtauriello

Description

@gtauriello

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?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions