Skip to content

Cannot build slabs with high miller index #37

Description

@yaomz16

I was trying to build a bcc211 slab using generate_surface_structures and got the following error:
File "/opt/homebrew/lib/python3.9/site-packages/autocat/surface.py", line 236, in generate_surface_structures struct = ase_build_funcs[f"{cs}{facet}"]( KeyError: 'bcc211'
I guess this is because of using ase.build.bccxxx series function instead of ase.build.surface function. I suggest to build the surface with ase.build.surface instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions