Source code for nanome.api.structure.base
from nanome._internal.structure.models import _Base
__metaclass__ = type
[docs]class Base(_Base):
"""
| Represents the base of a chemical structure (atom, molecule, etc)
"""
def __init__(self):
super(Base, self).__init__()
@property
def index(self):
"""
| Index of the base (int)
"""
return self._index
@index.setter
def index(self, value):
self._index = value