10
10
from sisl ._internal import set_module
11
11
12
12
from ._common import geometry_define_nsc
13
- from ._composite import _geom_section , composite_geometry
13
+ from ._composite import CompositeGeometrySection , composite_geometry
14
14
15
15
__all__ = [
16
16
'nanoribbon' , 'graphene_nanoribbon' , 'agnr' , 'zgnr' ,
@@ -168,7 +168,7 @@ def zgnr(width, bond=1.42, atoms=None):
168
168
169
169
@set_module ("sisl.geom" )
170
170
@dataclass
171
- class _heteroribbon_section (_geom_section ):
171
+ class _heteroribbon_section (CompositeGeometrySection ):
172
172
"""
173
173
Parameters
174
174
----------
@@ -619,7 +619,7 @@ def heteroribbon(sections, section_cls=_heteroribbon_section, **kwargs):
619
619
"""
620
620
return composite_geometry (sections , section_cls = section_cls , ** kwargs )
621
621
622
- heteroribbon .section = _heteroribbon_section
622
+ heteroribbon .section = _heteroribbon_section
623
623
624
624
625
625
@set_module ("sisl.geom" )
@@ -629,12 +629,12 @@ def graphene_heteroribbon(sections, section_cls=_heteroribbon_section, bond=1.42
629
629
Please see `heteroribbon` for arguments, the only difference is that the `bond` and `atoms`
630
630
arguments default to ``bond=1.42`` and ``Atoms(Z=6, R=bond*1.01)``, respectively.
631
631
632
- See also
633
- ----------
632
+ See Also
633
+ --------
634
634
heteroribbon : for argument details and how it behaves
635
635
"""
636
636
if atoms is None :
637
637
atoms = Atom (Z = 6 , R = bond * 1.01 )
638
638
return composite_geometry (sections , section_cls = section_cls , bond = bond , atoms = atoms , ** kwargs )
639
639
640
- graphene_heteroribbon .section = _heteroribbon_section
640
+ graphene_heteroribbon .section = _heteroribbon_section
0 commit comments