Method caa_entries_compnt belongs to
class Notation, the core class for managing
a CurlySMILES notation.
Module:
|
csm_notation.py
|
Method:
|
caa_entries_compnt(iCompnt)
|
Argument:
|
iCompnt (index of component);
type: integer;
values: 1,
2,..., or
nCompnt;
|
Return:
|
lstEntries, a
list of pairs, where each pair has the form
[sAM,dict]. The string
sAM holds the two-character annotation marker
(an SSAM or MIAM) and dict is the dictionary
with the key/value pairs of the annotation dictionary.
|
Example:
|
For the one-component CurlySMILES notation of formanilide dissolved in cyclohexane
___
sNotation = 'O=CNc1ccccc1{dsc=C1CCCCC1}'
the call
___
lstEntries = oNotation.caa_entries_compnt(1)
makes the assignment
___
lstEntries = [ ['ds',{'c': 'C1CCCCC1'}] ]
|
|
|