You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to generate rotated bilayer-graphene, I got this message:
blg = BilayerGrapheneGenerator(armchair_edge_length=10, zigzag_edge_length=10, layer_rotation_angle=45.0, degrees=True)
Traceback (most recent call last):
File "", line 1, in
File "/home/hoangt/Software/scikit-nano/sknano/structures/_bilayer_graphene.py", line 23, in init
super().init(nlayers=2, **kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/generators/_base.py", line 51, in init
super().init(*args, **kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/structures/_graphene.py", line 334, in init
super().init(**kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/structures/_graphene.py", line 172, in init
super().init(basis=basis, bond=bond, **kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/structures/_base.py", line 62, in init
super().init(*args, **kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/core/crystallography/_xtal_structures.py", line 196, in init
super().init(*args, **kwargs)
File "/home/hoangt/Software/scikit-nano/sknano/core/_meta.py", line 272, in init
super().init(*args, **kwargs)
TypeError: object.init() takes no parameters
Can you please suggest how to fix this error? Thank you for your help!
Tom
The text was updated successfully, but these errors were encountered:
Hi Andrew,
When I tried to generate rotated bilayer-graphene, I got this message:
Can you please suggest how to fix this error? Thank you for your help!
Tom
The text was updated successfully, but these errors were encountered: