Skip to content

cif_core.dic: SymKey and SymLat dREL functions assume single digit space group identifiers #550

@vaitkus

Description

@vaitkus

Code snippets like:

Function SymKey( s :[Single, Symop])  {  # symop string
# <...>
    Else            n = AtoI(s[0])
# <...>

and

Function SymLat( s :[Single, Symop])  {  # symop string
# <...>
    Else              v = [ AtoI(s[2]), AtoI(s[3]), AtoI(s[4]) ]
# <...>

assumes that in a symop string (e.g. 1_555) the numeric space group id will only consists of a single digit (located in the first position of the string). This is incorrect, since many space groups contain more than 9 symmetry operations.

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

    Issue actions