Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when generating rotated bilayer #11

Open
hoang6 opened this issue Dec 5, 2017 · 0 comments
Open

Error when generating rotated bilayer #11

hoang6 opened this issue Dec 5, 2017 · 0 comments

Comments

@hoang6
Copy link

hoang6 commented Dec 5, 2017

Hi Andrew,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant