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

Update __init__.py #188

Merged
merged 1 commit into from
Jan 27, 2022
Merged

Update __init__.py #188

merged 1 commit into from
Jan 27, 2022

Conversation

ubikpt
Copy link
Contributor

@ubikpt ubikpt commented Jan 27, 2022

Hello, great library! The function supergroup was not working for me. I was gettting the following error:

newStruc = struc.supergroup(G=int(superGroup[2]))
File "/home/chemist/.local/lib/python3.7/site-packages/pyxtal/init.py", line 581, in supergroup
my_super = supergroup(self, G=G, group_type=group_type)
TypeError: init() got an unexpected keyword argument 'group_type'

I fixed this changing the line:
my_super = supergroup(self, G=G, group_type=group_type)

To:
my_super = supergroup(self, G=G)

Hello, great library! The function supergroup was not working for me.  I was gettting the following error:

newStruc = struc.supergroup(G=int(superGroup[2]))
  File "/home/chemist/.local/lib/python3.7/site-packages/pyxtal/__init__.py", line 581, in supergroup
    my_super = supergroup(self, G=G, group_type=group_type)
TypeError: __init__() got an unexpected keyword argument 'group_type'

I fixed this changing the line:
 my_super = supergroup(self, G=G, group_type=group_type)

To:
my_super = supergroup(self, G=G)
@qzhu2017 qzhu2017 merged commit 21490b7 into qzhu2017:master Jan 27, 2022
@qzhu2017
Copy link
Owner

Thanks, this has been merged.

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

Successfully merging this pull request may close these issues.

None yet

2 participants