SUNCAT-Center/CatKit

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

xilingyi opened this issue · 7 comments

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!

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

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?

@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.

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 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?