OpenStructure
Public Member Functions | Data Fields
BondViolationInfo Class Reference

Public Member Functions

def __init__ (self, a1, a2, length, exp_length, std)
 
def ToJSON (self, decimals=3)
 

Data Fields

 a1
 
 a2
 
 length
 
 exp_length
 
 std
 

Detailed Description

 Object to hold info on bond violation

Constructor arguments are available as attributes:

* a1 (:class:`ost.mol.AtomHandle`)
* a2 (:class:`ost.mol.AtomHandle`)
* length (:class:`float`)
* exp_length (:class:`float`)
* std (:class:`float`)

Definition at line 380 of file stereochemistry.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  a1,
  a2,
  length,
  exp_length,
  std 
)

Definition at line 391 of file stereochemistry.py.

Member Function Documentation

◆ ToJSON()

def ToJSON (   self,
  decimals = 3 
)
 Return JSON serializable dict

Atoms are represented by a string in format:
<chain_name>.<resnum>.<resnum_inscode>.<atom_name>

Definition at line 398 of file stereochemistry.py.

Field Documentation

◆ a1

a1

Definition at line 392 of file stereochemistry.py.

◆ a2

a2

Definition at line 393 of file stereochemistry.py.

◆ exp_length

exp_length

Definition at line 395 of file stereochemistry.py.

◆ length

length

Definition at line 394 of file stereochemistry.py.

◆ std

std

Definition at line 396 of file stereochemistry.py.


The documentation for this class was generated from the following file: