Structure generators tutorial

The generators module provides the following classes for generating nanostructures:

Fullerene Structure Generators

Nanotube Structure Generators

In [1]: from sknano.generators import SWNTBundleGenerator

In [2]: bundle = SWNTBundleGenerator(n=10, m=5, nz=2, bundle_geometry='hexagon')

In [3]: bundle.save_data()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_structures.py in __getattr__(self, name)
     52         try:
---> 53             return getattr(self.atoms, name)
     54         except AttributeError:

AttributeError: 'StructureAtoms' object has no attribute 'save_data'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_cells.py in __getattr__(self, name)
     78         try:
---> 79             return getattr(self.lattice, name)
     80         except AttributeError:

AttributeError: 'Crystal3DLattice' object has no attribute 'save_data'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_cells.py in __getattr__(self, name)
     81             try:
---> 82                 return getattr(self.basis, name)
     83             except AttributeError:

AttributeError: 'BasisAtoms' object has no attribute 'save_data'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_cells.py in __getattr__(self, name)
    214         try:
--> 215             return getattr(self.unit_cell, name)
    216         except AttributeError:

/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_cells.py in __getattr__(self, name)
     83             except AttributeError:
---> 84                 return super().__getattr__(name)
     85 

AttributeError: 'super' object has no attribute '__getattr__'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_structures.py in __getattr__(self, name)
     55             try:
---> 56                 return getattr(self.crystal_cell, name)
     57             except AttributeError:

/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_cells.py in __getattr__(self, name)
    216         except AttributeError:
--> 217             return super().__getattr__(name)
    218 

AttributeError: 'super' object has no attribute '__getattr__'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
<ipython-input-3-bb763dfa207e> in <module>()
----> 1 bundle.save_data()

/home/androo/.virtualenvs/sknano-py3/lib/python3.4/site-packages/scikit_nano-0.3.21-py3.4.egg/sknano/core/crystallography/_xtal_structures.py in __getattr__(self, name)
     56                 return getattr(self.crystal_cell, name)
     57             except AttributeError:
---> 58                 return super().__getattr__(name)
     59 
     60     @property

AttributeError: 'super' object has no attribute '__getattr__'