1010from sisl ._internal import set_module
1111
1212from ._common import geometry_define_nsc
13- from ._composite import _geom_section , composite_geometry
13+ from ._composite import CompositeGeometrySection , composite_geometry
1414
1515__all__ = [
1616 'nanoribbon' , 'graphene_nanoribbon' , 'agnr' , 'zgnr' ,
@@ -168,7 +168,7 @@ def zgnr(width, bond=1.42, atoms=None):
168168
169169@set_module ("sisl.geom" )
170170@dataclass
171- class _heteroribbon_section (_geom_section ):
171+ class _heteroribbon_section (CompositeGeometrySection ):
172172 """
173173 Parameters
174174 ----------
@@ -619,7 +619,7 @@ def heteroribbon(sections, section_cls=_heteroribbon_section, **kwargs):
619619 """
620620 return composite_geometry (sections , section_cls = section_cls , ** kwargs )
621621
622- heteroribbon .section = _heteroribbon_section
622+ heteroribbon .section = _heteroribbon_section
623623
624624
625625@set_module ("sisl.geom" )
@@ -629,12 +629,12 @@ def graphene_heteroribbon(sections, section_cls=_heteroribbon_section, bond=1.42
629629 Please see `heteroribbon` for arguments, the only difference is that the `bond` and `atoms`
630630 arguments default to ``bond=1.42`` and ``Atoms(Z=6, R=bond*1.01)``, respectively.
631631
632- See also
633- ----------
632+ See Also
633+ --------
634634 heteroribbon : for argument details and how it behaves
635635 """
636636 if atoms is None :
637637 atoms = Atom (Z = 6 , R = bond * 1.01 )
638638 return composite_geometry (sections , section_cls = section_cls , bond = bond , atoms = atoms , ** kwargs )
639639
640- graphene_heteroribbon .section = _heteroribbon_section
640+ graphene_heteroribbon .section = _heteroribbon_section
0 commit comments