CurlySMILES class Notation: method msgs_acc

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

Module: csm_notation.py
Method: msg_acc()
Argument: on argument
Return: lstAccMsgs, a list of strings with messages created in response to the call of access methods. Typically, the messages report some access problem such out-of-range values for a given argument.
Example: For the one-component CurlySMILES notation

___ sNotation = 'CC(C)CO[SiH]{-X}C'

the calls

___ lstEntries = oNotation.aaa_entries_compnt(1,7)
___ lstAccMsgs = oNotation.msgs_acc()

results into

___ lstAccMsgs = [ 'aaa_entries_compnt: iAtom = 7 \
___________________ out of range' ]


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