Skip to content

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

@xilingyi

Description

@xilingyi

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!

Activity

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)[/+] on Oct 23, 2021
hanao2

hanao2 commented on Nov 19, 2021

@hanao2

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

xilingyi

xilingyi commented on Nov 19, 2021

@xilingyi
Author
melkoz

melkoz commented on Jan 26, 2022

@melkoz

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

xilingyi commented on Jan 27, 2022

@xilingyi
Author
ajsummers

ajsummers commented on Jan 31, 2022

@ajsummers

@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

kirstenwinther commented on Jan 31, 2022

@kirstenwinther
Member

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

lll0606 commented on Apr 22, 2024

@lll0606

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kirstenwinther@xilingyi@melkoz@ajsummers@hanao2

        Issue actions

          AttributeError: 'Gratoms' object has no attribute '_cell' (with the latest version of ase.3.22.0 and catakit.0.5.4) · Issue #95 · SUNCAT-Center/CatKit