CurlySMILES class Notation: method atoms_aromat_compnt

Method atoms_aromat_compnt belongs to class Notation, the core class for managing a CurlySMILES notation.

Module: csm_notation.py
Method: atoms_aromat_compnt(iCompnt)
Argument: iCompnt (index of component);
type: integer;
values: 1, 2,..., or nCompnt
Return: lstAromat, a list with values of 1 or 0 depending on whether atoms are aromatic-ring atoms or not. The values occur in the order of the corresponding atomic symbols in the component notation.
Example: For the CurlySMILES notation of 2,5-dibromopyrazine

___ sNotation = 'n1c(Br)cnc(Br)c1'

the call

___ lstAromat = oNotation.atoms_aromat_compnt(1)

makes the assignment

___ lstAromat = [1,1,0,1,1,1,0,1]


Please, email comments and suggestions to axeleratio@yahoo.com
Custom Search