Molecula Paclet Symbol
MDescriptor
MDescriptorValue
MDescriptorList
MDescriptorUpdate
See Also »
|
Molecula Data Structure
More About »
MHasDescriptor
MHasDescriptor[
hexpr
,
descr
]
returns
True
if
hexpr
has the descriptor
descr
and
False
otherwize.
MORE INFORMATION
hexpr
could be any of the predefined hierarchical expressions of
Molecula
:
MData
,
MModel
,
MChain
,
MResidue
and
MAtom
.
descr
is typically a string corrsponding to a descriptor. Usual descriptors are
"Label"
,
"Id"
,
"NextLevel"
, ...
MHasDescriptor
is a low level key programming function for explorating the contents of hierarchical expressions in
Molecula
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Loads a sample atom:
In[2]:=
Out[2]=
Test if the atom has the descriptor
"TemperatureFactor"
:
In[3]:=
Out[3]=
Test if the atom has the descriptor
"Volume"
:
In[4]:=
Out[4]=
SEE ALSO
MDescriptor
MDescriptorValue
MDescriptorList
MDescriptorUpdate
MORE ABOUT
Molecula Data Structure