CurlySMILES class Notation: method type_composite_parts

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

Module: csm_notation.py
Method: numbof_composite_parts()
Argument: no argument
Return: lstTypes, an list of strings with type specifications of composite parts (forward-slash-separated parts) in a composite notation. Possible type strings are 'sfn', 'smi', and 'ali' for stoichiometric formula notation, (annotated) SMILES notation, and (unresolved) alias, respectively.
Example: For the CurlySMILES notation of the composite MEEP/ZrO2, consisting of poly[bis(methoxy-ethoxy-ethoxy)phosphazene] (MEEP) and zirconium dioxide

___ sNotation = '{/N{-}=P{+n}(OCCOCCOC)(OCCOCCOC)/{*ZrO2}}'

the call

___ lstTypes = oNotation.type_composite_parts()

makes the assignment

___ lstTypes = ['smi','sfn']



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