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

AttributeError: 'Gratoms' object has no attribute '_cell' (with the latest version of ase.3.22.0 and catakit.0.5.4) #95

Open
xilingyi opened this issue Oct 22, 2021 · 7 comments

Comments

@xilingyi
Copy link

xilingyi commented Oct 22, 2021

D:\Ana\lib\site-packages\catkit\gratoms.py in copy(self)
150 def copy(self):
151 """Return a copy."""
--> 152 atoms = self.class(cell=self._cell, pbc=self._pbc, info=self.info)
153
154 atoms.arrays = {}

AttributeError: 'Gratoms' object has no attribute '_cell'

I cannot run any code with this error. Ask for your help, thank you!

@xilingyi xilingyi changed the title AttributeError: 'Gratoms' object has no attribute '_cell' (with the latest version of ase.0.5.4 and catakit.3.22.0) AttributeError: 'Gratoms' object has no attribute '_cell' (with the latest version of ase.3.22.0 and catakit.0.5.4) Oct 23, 2021
@hanao2
Copy link

hanao2 commented Nov 19, 2021

Hello Xilingyi,
I faced the same issue. How did you fix it? I would appreciate your help.

@xilingyi
Copy link
Author

xilingyi commented Nov 19, 2021 via email

@melkoz
Copy link

melkoz commented Jan 26, 2022

Hello,
I am also facing that issue. My ase is upgraded to 3.22.1 version.
Is there anything else that you have changed to fix this error?

@xilingyi
Copy link
Author

xilingyi commented Jan 27, 2022 via email

@ajsummers
Copy link

@melkoz I had to downgrade ase to 3.17.0 to get catkit 0.5.4 to work. The last update of catkit was released in 2018, and this is when ase 3.17.0 was released. Anything before gets flagged by catkit and anything after returns the '_cell' error for me.

@kirstenwinther
Copy link
Member

kirstenwinther commented Jan 31, 2022

Hi all,

Try to install CatKit directly from this github repo and not from 'pip install catkit'.

The ._cell issue was fixed a while back, but I don't have permission to update the pypi entry.

@lll0606
Copy link

lll0606 commented Apr 22, 2024

Hi all,

Try to install CatKit directly from this github repo and not from 'pip install catkit'.

The ._cell issue was fixed a while back, but I don't have permission to update the pypi entry.

Hi, I installed by "pip install git+https://github.com/SUNCAT-Center/CatKit.git", I keep run into the issue of AttributeError: 'Gratoms' object has no attribute '_cell'. Is there anything else that you have changed to fix this error?

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

6 participants