-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi! First, off, thanks for the port to Julia! It is super useful for my research! (:
Describe the bug
For a crystal with trigonal spacegroup symmetry, Spglib
fails to reshape the unit cell to accommodate the symmetry equivalent settings of the spacegroup. Case in point, the spacegroup 148 with setting 1. Hall number 436 according to https://yseto.net/sg/sg1
To Reproduce
Steps to reproduce the behavior:
-
Start Julia REPL
-
Run:
using Spglib
basis_v = [7 -3.5 0; 0 6.06218 0; 0 0 19]
positions = [[0.0, 0.0, 1/6]]
atoms = [1]
cell = Cell(basis_v, positions, atoms)
ds = get_dataset_with_hall_number(cell, 436, 1e-5)
Note: I have tried relaxing the symmetry precision parameter to no avail.
- See error
ERROR: SpglibError: spacegroup search failed!
Expected behavior
The ds
object should be consistent with what is expected for spacegroup 148 with the rhombohedral setting.
Versions (please complete the following information):
- OS: Ubuntu 22.04 Jammy under WSL.
- Julia version: 1.10.1
- Spglib: v0.9.3
singularitti
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working