Snippets for python:spglib 2.7.0 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/4blr5mlaa2hxx4zplbypx2wzllxjmi5i-python3.13-spglib-2.7.0.drv.
-
/build/source/python/py_bindings.cpp:366:41: warning: ‘SpglibDataset* spg_get_layer_dataset(const double (*)[3], const double (*)[3], const int*, int, int, double)’ is deprecated: Experimental interface. May be removed in next major release. [-Wdeprecated-declarations] 366 | auto dataset = spg_get_layer_dataset(lattice.data(), positions.data(), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | atom_types.data(), atom_types.n_atoms, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 368 | aperiodic_dir, symprec); | ~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/python/py_bindings.cpp:492:34: warning: ‘int spgat_get_symmetry(int (*)[3][3], double (*)[3], int, const double (*)[3], const double (*)[3], const int*, int, double, double)’ is deprecated: Use the variables from SpglibDataset (rotations, translations) [-Wdeprecated-declarations] 492 | auto val = spgat_get_symmetry(rotations.data(), translations.data(), | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | rotations.n_operations, lattice.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 494 | positions.data(), atom_types.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 495 | atom_types.n_atoms, symprec, angle_tolerance); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/python/py_bindings.cpp:658:49: warning: ‘int spg_get_hall_number_from_symmetry(const int (*)[3][3], const double (*)[3], int, double)’ is deprecated: Use the variable from SpglibSpacegroupType instead (hall_number) [-Wdeprecated-declarations] 658 | auto val = spg_get_hall_number_from_symmetry( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 659 | rotations.data(), translations.data(), rotations.n_operations, symprec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~