pymdkit 1.7.1__tar.gz → 1.7.2__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 (74) hide show
  1. {pymdkit-1.7.1 → pymdkit-1.7.2}/PKG-INFO +31 -5
  2. {pymdkit-1.7.1 → pymdkit-1.7.2}/README.md +692 -666
  3. {pymdkit-1.7.1 → pymdkit-1.7.2}/pyproject.toml +48 -48
  4. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/__init__.py +3 -3
  5. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/convert.py +1189 -1135
  6. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/supercell.py +16 -11
  7. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/PKG-INFO +31 -5
  8. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/SOURCES.txt +1 -0
  9. pymdkit-1.7.2/tests/test_v172_vasp_writing.py +233 -0
  10. {pymdkit-1.7.1 → pymdkit-1.7.2}/LICENSE +0 -0
  11. {pymdkit-1.7.1 → pymdkit-1.7.2}/setup.cfg +0 -0
  12. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/_config.py +0 -0
  13. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/_logging.py +0 -0
  14. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/__init__.py +0 -0
  15. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_cifio.py +0 -0
  16. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_extxyz.py +0 -0
  17. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_fileio.py +0 -0
  18. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_geometry.py +0 -0
  19. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_gpumd.py +0 -0
  20. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_gpumd_final_structure.py +0 -0
  21. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_gpumd_msd.py +0 -0
  22. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_gpumd_status.py +0 -0
  23. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_gpumd_thermo.py +0 -0
  24. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_lattice.py +0 -0
  25. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_oxidation.py +0 -0
  26. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_parallel.py +0 -0
  27. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_precision.py +0 -0
  28. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_reduction.py +0 -0
  29. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_submit.py +0 -0
  30. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_submit_vasp.py +0 -0
  31. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_supercell.py +0 -0
  32. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_symmetry.py +0 -0
  33. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_vasp_ehull.py +0 -0
  34. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_vasp_final_structure.py +0 -0
  35. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_vasp_nep.py +0 -0
  36. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_vasp_output.py +0 -0
  37. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/_vaspset.py +0 -0
  38. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/chemsys_entry.py +0 -0
  39. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/compute_rmsd.py +0 -0
  40. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/config.py +0 -0
  41. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/dope.py +0 -0
  42. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/ewald.py +0 -0
  43. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/gpumd_job.py +0 -0
  44. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/gpumd_out.py +0 -0
  45. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/nep_rmse.py +0 -0
  46. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/perturb.py +0 -0
  47. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/rd.py +0 -0
  48. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/realloc_occ.py +0 -0
  49. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/submit.py +0 -0
  50. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/trjconv.py +0 -0
  51. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/vasp_job.py +0 -0
  52. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/commands/vasp_out.py +0 -0
  53. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit/pymdkit_main.py +0 -0
  54. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/dependency_links.txt +0 -0
  55. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/entry_points.txt +0 -0
  56. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/requires.txt +0 -0
  57. {pymdkit-1.7.1 → pymdkit-1.7.2}/src/pymdkit.egg-info/top_level.txt +0 -0
  58. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_config_logging.py +0 -0
  59. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_convert.py +0 -0
  60. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_ehull.py +0 -0
  61. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_gpumd_out.py +0 -0
  62. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_lattice_symmetry.py +0 -0
  63. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_parallel.py +0 -0
  64. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_progress.py +0 -0
  65. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_realloc_occ.py +0 -0
  66. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_rmsd_gpu.py +0 -0
  67. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_rmsd_max.py +0 -0
  68. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_rmsd_two_folder.py +0 -0
  69. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_submit.py +0 -0
  70. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_v165.py +0 -0
  71. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_v170_job_infrastructure.py +0 -0
  72. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_v170_vasp_consolidation.py +0 -0
  73. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_vasp_out.py +0 -0
  74. {pymdkit-1.7.1 → pymdkit-1.7.2}/tests/test_vaspset.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymdkit
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Summary: A Python command-line toolkit for high-throughput atomistic workflows in AI-driven materials design.
5
5
  Author-email: Yueda Wang <ydwang0608@ustc.edu.cn>
6
6
  License-Expression: GPL-3.0-or-later
@@ -86,7 +86,7 @@ installed.
86
86
  On a machine with Internet access, run:
87
87
 
88
88
  ```bash
89
- python -m pip download pymdkit==1.7.1 -d pymdkit-offline
89
+ python -m pip download pymdkit==1.7.2 -d pymdkit-offline
90
90
  ```
91
91
 
92
92
  This downloads `pymdkit` and the dependencies resolved by pip into the
@@ -94,14 +94,14 @@ This downloads `pymdkit` and the dependencies resolved by pip into the
94
94
  system. Then, inside the target pymdkit Python or conda environment, run:
95
95
 
96
96
  ```bash
97
- python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.1
97
+ python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.2
98
98
  ```
99
99
 
100
100
  For optional GPU use, prepare the bundle on a networked machine compatible with
101
101
  the target HPC platform and Python environment:
102
102
 
103
103
  ```bash
104
- python -m pip download "pymdkit[gpu-cuda12]==1.7.1" -d pymdkit-offline
104
+ python -m pip download "pymdkit[gpu-cuda12]==1.7.2" -d pymdkit-offline
105
105
  ```
106
106
 
107
107
  Transfer the whole `pymdkit-offline` directory, then install from it on the
@@ -109,7 +109,7 @@ target system:
109
109
 
110
110
  ```bash
111
111
  python -m pip install --no-index --find-links=pymdkit-offline \
112
- "pymdkit[gpu-cuda12]==1.7.1"
112
+ "pymdkit[gpu-cuda12]==1.7.2"
113
113
  ```
114
114
 
115
115
  This GPU bundle includes the optional `cupy-cuda12x` package. Its wheels must also
@@ -558,6 +558,32 @@ standalone `substitute` command is removed.
558
558
  - Standalone `gpumd-group` tagging and `gpumd-trjcat` are removed without
559
559
  replacement. `gpumd-job -group` remains available during job creation.
560
560
 
561
+ ### Generated VASP structures
562
+
563
+ New `.vasp` files written by `convert`, standalone `supercell`, and
564
+ `dope -output-format vasp` automatically group atoms by species using
565
+ pymatgen's POSCAR ordering. For example, a 64-atom LiI supercell has a single
566
+ `Li I` species line and a `32 32` count line. Site order changes to group
567
+ species; the lattice, species-resolved positions, and selective-dynamics
568
+ flags remain associated with their sites.
569
+
570
+ Direct (fractional) coordinates are the default. Both `convert` and
571
+ `supercell` accept mutually exclusive `-direct` and `-cartesian` flags for
572
+ `.vasp` output. These flags also apply in folder mode and when `convert`
573
+ creates a supercell. They have no effect on CIF, XYZ, extxyz, or other output
574
+ formats. VASP job input sets and collected CONTCAR files retain their existing
575
+ behavior.
576
+
577
+ ```bash
578
+ pmk convert -i LiI.cif -o LiI.vasp -direct
579
+ pmk convert -i LiI.cif -o LiI-cart.vasp -cartesian
580
+ pmk convert -if structures -of vasp-direct -oe vasp
581
+ pmk convert -i LiI.cif -o LiI-222.vasp -supercell-matrix 2x2x2 -cartesian
582
+ pmk supercell -i LiI.vasp -o LiI-222.vasp -matrix 2x2x2 -direct
583
+ pmk supercell -i LiI.vasp -o LiI-222-cart.vasp -matrix 2x2x2 -cartesian
584
+ pmk supercell -if vasp-direct -of vasp-cart -matrix 2x2x2 -cartesian
585
+ ```
586
+
561
587
  ### Other behavior
562
588
 
563
589
  `convert -d2o` first symmetrizes the disordered structure so each distinct