structuretoolkit 0.0.44__tar.gz → 0.0.45__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/PKG-INFO +2 -2
  2. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/pyproject.toml +1 -1
  3. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/_version.py +2 -2
  4. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/snap.py +4 -4
  5. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/.gitignore +0 -0
  6. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/LICENSE +0 -0
  7. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/README.md +0 -0
  8. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/__init__.py +0 -0
  9. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/__init__.py +0 -0
  10. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/distance.py +0 -0
  11. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/dscribe.py +0 -0
  12. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/neighbors.py +0 -0
  13. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/phonopy.py +0 -0
  14. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/pyscal.py +0 -0
  15. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/spatial.py +0 -0
  16. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/strain.py +0 -0
  17. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/analyse/symmetry.py +0 -0
  18. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/__init__.py +0 -0
  19. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/aimsgb.py +0 -0
  20. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/compound.py +0 -0
  21. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/geometry.py +0 -0
  22. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/materialsproject.py +0 -0
  23. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/mesh.py +0 -0
  24. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/sqs/__init__.py +0 -0
  25. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/sqs/_interface.py +0 -0
  26. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/sqs/_types.py +0 -0
  27. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/build/surface.py +0 -0
  28. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/__init__.py +0 -0
  29. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/error.py +0 -0
  30. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/helper.py +0 -0
  31. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/phonopy.py +0 -0
  32. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/pymatgen.py +0 -0
  33. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/common/pyscal.py +0 -0
  34. {structuretoolkit-0.0.44 → structuretoolkit-0.0.45}/src/structuretoolkit/visualize.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: structuretoolkit
3
- Version: 0.0.44
3
+ Version: 0.0.45
4
4
  Summary: build, analyse and visualise atomistic structures for materials science
5
5
  Project-URL: Homepage, https://github.com/pyiron/structuretoolkit
6
6
  Project-URL: Documentation, https://github.com/pyiron/structuretoolkit
@@ -46,7 +46,7 @@ Classifier: Programming Language :: Python :: 3.12
46
46
  Classifier: Programming Language :: Python :: 3.13
47
47
  Classifier: Topic :: Scientific/Engineering :: Physics
48
48
  Requires-Python: <3.15,>=3.10
49
- Requires-Dist: ase<=3.28.0,>=3.24.0
49
+ Requires-Dist: ase<=3.29.0,>=3.24.0
50
50
  Requires-Dist: numpy<=2.4.6,>=1.23.5
51
51
  Requires-Dist: scipy<=1.17.1,>=1.15.0
52
52
  Provides-Extra: clusters
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.13",
24
24
  ]
25
25
  dependencies = [
26
- "ase>=3.24.0,<=3.28.0",
26
+ "ase>=3.24.0,<=3.29.0",
27
27
  "numpy>=1.23.5,<=2.4.6",
28
28
  "scipy>=1.15.0,<=1.17.1",
29
29
  ]
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.0.44'
22
- __version_tuple__ = version_tuple = (0, 0, 44)
21
+ __version__ = version = '0.0.45'
22
+ __version_tuple__ = version_tuple = (0, 0, 45)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -268,8 +268,8 @@ def _set_ase_structure(lmp, structure: Atoms):
268
268
  elem_all = np.array([el_dict[el] + 1 for el in structure.get_chemical_symbols()])
269
269
  lmp.create_atoms(
270
270
  n=len(structure),
271
- id=None,
272
- type=(len(elem_all) * c_int)(*elem_all),
271
+ atomid=None,
272
+ atype=(len(elem_all) * c_int)(*elem_all),
273
273
  x=(len(positions) * c_double)(*positions),
274
274
  v=None,
275
275
  image=None,
@@ -547,12 +547,12 @@ def _extract_computes_snap(
547
547
  Returns:
548
548
  np.ndarray: Output of the LAMMPS compute command
549
549
  """
550
- lmp_atom_ids = lmp.numpy.extract_atom_iarray("id", num_atoms).flatten()
550
+ lmp_atom_ids = lmp.numpy.extract_atom(name="id", nelem=num_atoms).flatten()
551
551
  cond = bool(np.all(lmp_atom_ids == 1 + np.arange(num_atoms)))
552
552
  assert cond, "LAMMPS seems to have lost atoms"
553
553
 
554
554
  # Extract types
555
- lmp_types = lmp.numpy.extract_atom_iarray(name="type", nelem=num_atoms).flatten()
555
+ lmp_types = lmp.numpy.extract_atom(name="type", nelem=num_atoms).flatten()
556
556
  lmp_volume = lmp.get_thermo("vol")
557
557
 
558
558
  # Extract Bsum