IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Description of crosslinking restraints as a python dictionary. More...
Inherits dict.
Description of crosslinking restraints as a python dictionary.
The keys are a pair with the ids of the cross-linked subunits. Note: The pairs are considered in alphabetic order
Definition at line 108 of file buildxlinks.py.
Public Member Functions | |
def | add |
Add a xlink. More... | |
def | get_xlinks_for_pair |
def IMP.EMageFit.buildxlinks.XlinksDict.add | ( | self, | |
xlink | |||
) |
Add a xlink.
It is ensured that the id of the first element is is lower that the second
Definition at line 117 of file buildxlinks.py.
def IMP.EMageFit.buildxlinks.XlinksDict.get_xlinks_for_pair | ( | self, | |
pair_ids | |||
) |
pair_ids | Ids for the subunits that are cross-linked |
Definition at line 129 of file buildxlinks.py.