OpenStructure
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
BondViolationInfo Class Reference

Public Member Functions

 __init__ (self, a1, a2, length, exp_length, std)
 
 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 390 of file stereochemistry.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 401 of file stereochemistry.py.

Member Function Documentation

◆ ToJSON()

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 408 of file stereochemistry.py.

Field Documentation

◆ a1

a1

Definition at line 402 of file stereochemistry.py.

◆ a2

a2

Definition at line 403 of file stereochemistry.py.

◆ exp_length

exp_length

Definition at line 405 of file stereochemistry.py.

◆ length

length

Definition at line 404 of file stereochemistry.py.

◆ std

std

Definition at line 406 of file stereochemistry.py.


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