Method atoms_nvbors_compnt belongs to
class Notation, the core class for managing
a CurlySMILES notation.
Module:
|
csm_notation.py
|
Method:
|
atoms_nvbors_compnt(iCompnt)
|
Argument:
|
iCompnt (index of component);
type: integer;
values: 1,
2,..., or
nCompnt
|
Return:
|
lstNvbors, a list
with the number of valence bonds to neighbor nodes. The numbers are listed
in the same order in which the nodes (atomic symbols) occur in the component
notation.
Hint: The number of neighbor nodes is obtained with method
atoms_nbors_compnt.
|
Example:
|
For the one-component CurlySMILES notation of 2-bromo-3-cyanofurane
___
sNotation = 'o1c(Br)c(C#N)cc1'
the call
___
lstNvbors = oNotation.atoms_nvbors_compnt(1)
makes the assignment
___
lstNvbors = [3,4,1,4,4,3,3,3]
|
|
|