atomict 1.2.27__tar.gz → 1.2.28__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 (95) hide show
  1. {atomict-1.2.27 → atomict-1.2.28}/PKG-INFO +1 -1
  2. atomict-1.2.28/atomict/__version__.py +1 -0
  3. {atomict-1.2.27 → atomict-1.2.28}/atomict/infra/distwork/task.py +2 -1
  4. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/PKG-INFO +1 -1
  5. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/SOURCES.txt +0 -1
  6. atomict-1.2.27/atomict/__version__.py +0 -1
  7. atomict-1.2.27/atomict/simulation/phonon.py +0 -98
  8. {atomict-1.2.27 → atomict-1.2.28}/LICENSE +0 -0
  9. {atomict-1.2.27 → atomict-1.2.28}/README.md +0 -0
  10. {atomict-1.2.27 → atomict-1.2.28}/atomict/__init__.py +0 -0
  11. {atomict-1.2.27 → atomict-1.2.28}/atomict/api.py +0 -0
  12. {atomict-1.2.27 → atomict-1.2.28}/atomict/ase/atatoms.py +0 -0
  13. {atomict-1.2.27 → atomict-1.2.28}/atomict/auth.py +0 -0
  14. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/__init__.py +0 -0
  15. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/ai_assist.py +0 -0
  16. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/common.py +0 -0
  17. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/convert.py +0 -0
  18. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/exploration/__init__.py +0 -0
  19. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/exploration/soec.py +0 -0
  20. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/exploration/sqs.py +0 -0
  21. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/helpers.py +0 -0
  22. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/k8s.py +0 -0
  23. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/login.py +0 -0
  24. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/organization.py +0 -0
  25. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/project.py +0 -0
  26. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/simulation/fhiaims.py +0 -0
  27. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/simulation/kpoint.py +0 -0
  28. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/simulation/qe.py +0 -0
  29. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/task.py +0 -0
  30. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/token.py +0 -0
  31. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/traj.py +0 -0
  32. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/upload.py +0 -0
  33. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/user.py +0 -0
  34. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/commands/workspace.py +0 -0
  35. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/core/client.py +0 -0
  36. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/core/config.py +0 -0
  37. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/core/utils.py +0 -0
  38. {atomict-1.2.27 → atomict-1.2.28}/atomict/cli/main.py +0 -0
  39. {atomict-1.2.27 → atomict-1.2.28}/atomict/env.py +0 -0
  40. {atomict-1.2.27 → atomict-1.2.28}/atomict/exceptions.py +0 -0
  41. {atomict-1.2.27 → atomict-1.2.28}/atomict/infra/__init__.py +0 -0
  42. {atomict-1.2.27 → atomict-1.2.28}/atomict/infra/distwork/__init__.py +0 -0
  43. {atomict-1.2.27 → atomict-1.2.28}/atomict/infra/distwork/environment.py +0 -0
  44. {atomict-1.2.27 → atomict-1.2.28}/atomict/infra/logging.py +0 -0
  45. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/__init__.py +0 -0
  46. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/atoms.py +0 -0
  47. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/cif.py +0 -0
  48. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/fhiaims.py +0 -0
  49. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/formats/__init__.py +0 -0
  50. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/formats/atraj.py +0 -0
  51. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/formats/tess.py +0 -0
  52. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/formats/traj.py +0 -0
  53. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/trajectory.py +0 -0
  54. {atomict-1.2.27 → atomict-1.2.28}/atomict/io/utils.py +0 -0
  55. {atomict-1.2.27 → atomict-1.2.28}/atomict/ml/__init__.py +0 -0
  56. {atomict-1.2.27 → atomict-1.2.28}/atomict/ml/model.py +0 -0
  57. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/__init__.py +0 -0
  58. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/link.py +0 -0
  59. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/note.py +0 -0
  60. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/project.py +0 -0
  61. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/tags.py +0 -0
  62. {atomict-1.2.27 → atomict-1.2.28}/atomict/project/workbench.py +0 -0
  63. {atomict-1.2.27 → atomict-1.2.28}/atomict/reality/__init__.py +0 -0
  64. {atomict-1.2.27 → atomict-1.2.28}/atomict/reality/oqmd.py +0 -0
  65. {atomict-1.2.27 → atomict-1.2.28}/atomict/reality/slabs.py +0 -0
  66. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/__init__.py +0 -0
  67. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/cantera.py +0 -0
  68. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/counterfactual.py +0 -0
  69. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/defect.py +0 -0
  70. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/ea.py +0 -0
  71. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/fhi_aims.py +0 -0
  72. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/impact.py +0 -0
  73. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/kpoint.py +0 -0
  74. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/md.py +0 -0
  75. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/mlrelax.py +0 -0
  76. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/models.py +0 -0
  77. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/qe.py +0 -0
  78. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/sh.py +0 -0
  79. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/sqs.py +0 -0
  80. {atomict-1.2.27 → atomict-1.2.28}/atomict/simulation/utils.py +0 -0
  81. {atomict-1.2.27 → atomict-1.2.28}/atomict/user/__init__.py +0 -0
  82. {atomict-1.2.27 → atomict-1.2.28}/atomict/user/files.py +0 -0
  83. {atomict-1.2.27 → atomict-1.2.28}/atomict/user/workspace.py +0 -0
  84. {atomict-1.2.27 → atomict-1.2.28}/atomict/utils/fhiaims/__init__.py +0 -0
  85. {atomict-1.2.27 → atomict-1.2.28}/atomict/utils/fhiaims/geometry.py +0 -0
  86. {atomict-1.2.27 → atomict-1.2.28}/atomict/utils/tenacity.py +0 -0
  87. {atomict-1.2.27 → atomict-1.2.28}/atomict/utils/traj.py +0 -0
  88. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/dependency_links.txt +0 -0
  89. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/entry_points.txt +0 -0
  90. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/requires.txt +0 -0
  91. {atomict-1.2.27 → atomict-1.2.28}/atomict.egg-info/top_level.txt +0 -0
  92. {atomict-1.2.27 → atomict-1.2.28}/pyproject.toml +0 -0
  93. {atomict-1.2.27 → atomict-1.2.28}/requirements.txt +0 -0
  94. {atomict-1.2.27 → atomict-1.2.28}/setup.cfg +0 -0
  95. {atomict-1.2.27 → atomict-1.2.28}/tests/test_loki_handler_close.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomict
3
- Version: 1.2.27
3
+ Version: 1.2.28
4
4
  Summary: The client application for the https://atomictessellator.com/
5
5
  Author-email: Steven Anderson <steven@atomictessellator.com>, Alain Richardt <alain@atomictessellator.com>
6
6
  License: MIT
@@ -0,0 +1 @@
1
+ __version__ = "1.2.28"
@@ -42,8 +42,9 @@ def update_task_status(
42
42
  *,
43
43
  api_root: str = None,
44
44
  token: str = None,
45
+ **kwargs,
45
46
  ):
46
- payload = {}
47
+ payload = dict(kwargs)
47
48
 
48
49
  if status:
49
50
  payload["status"] = status.value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomict
3
- Version: 1.2.27
3
+ Version: 1.2.28
4
4
  Summary: The client application for the https://atomictessellator.com/
5
5
  Author-email: Steven Anderson <steven@atomictessellator.com>, Alain Richardt <alain@atomictessellator.com>
6
6
  License: MIT
@@ -77,7 +77,6 @@ atomict/simulation/kpoint.py
77
77
  atomict/simulation/md.py
78
78
  atomict/simulation/mlrelax.py
79
79
  atomict/simulation/models.py
80
- atomict/simulation/phonon.py
81
80
  atomict/simulation/qe.py
82
81
  atomict/simulation/sh.py
83
82
  atomict/simulation/sqs.py
@@ -1 +0,0 @@
1
- __version__ = "1.2.27"
@@ -1,98 +0,0 @@
1
- from atomict.api import get, post
2
- from atomict.simulation.models import MODEL_ORB_D3_V2, MODEL_MATTERSIM_1_0_0_5M, MODEL_ORB_V3_CONSERVATIVE, MODEL_ESEN_30M_OAM
3
-
4
-
5
- def get_phonon_run(id: str, **params):
6
- """
7
- Get Phonon Run
8
-
9
- A Phonon Run is a collection of Phonon Simulations.
10
-
11
- Args:
12
- id: str - The ID of the Phonon Run
13
- **params: Additional GET parameters to pass to the API
14
- """
15
- # Build query string from parameters
16
- query_string = '&'.join(f"{k}={v}" for k, v in params.items())
17
- base_url = f"api/phonon-run/{id}/"
18
-
19
- # Add query string if we have parameters
20
- url = f"{base_url}?{query_string}" if query_string else base_url
21
-
22
- result = get(url)
23
- return result
24
-
25
-
26
- def get_phonon_sim_run(id: str, **params):
27
- """
28
- Get Phonon Simulation Run
29
-
30
- Args:
31
- id: str - The ID of the Phonon Simulation Run
32
- **params: Additional GET parameters to pass to the API
33
- """
34
- # Build query string from parameters
35
- query_string = '&'.join(f"{k}={v}" for k, v in params.items())
36
- base_url = f"api/phonon-run-simulation/{id}/"
37
-
38
- # Add query string if we have parameters
39
- url = f"{base_url}?{query_string}" if query_string else base_url
40
-
41
- result = get(url)
42
- return result
43
-
44
-
45
- def associate_user_upload_with_phonon_sim_run(user_upload_id: str, phonon_run_id: str):
46
- """
47
- Associate a user upload with a Phonon Simulation Run
48
- """
49
- result = post(
50
- "api/phonon-run-simulation-file/",
51
- payload={"user_upload_id": user_upload_id, "phono3py_run_simulation_id": phonon_run_id},
52
- )
53
- return result
54
-
55
-
56
- def create_phonon_run(project_id: str, source_geometry_id: str, action: str, name: str = None, description: str = None, model: int = MODEL_ORB_D3_V2, extra_simulation_kwargs: dict = None):
57
- """
58
- Create a Phonon Run
59
-
60
- Args:
61
- project_id: str - The ID of the Project
62
- source_geometry_id: str - The ID of the Source Geometry
63
- action: str - The action to perform
64
- name: str - The name of the Phonon Run
65
- """
66
-
67
- if action not in ["LAUNCH", "DRAFT"]:
68
- raise ValueError(f"Invalid action: {action} (must be 'LAUNCH' or 'DRAFT')")
69
-
70
- # Validate model is one of the supported constants
71
- valid_models = [
72
- MODEL_ORB_D3_V2,
73
- MODEL_MATTERSIM_1_0_0_5M,
74
- MODEL_ORB_V3_CONSERVATIVE,
75
- MODEL_ESEN_30M_OAM,
76
- ]
77
- if model not in valid_models:
78
- raise ValueError(f"Invalid model: {model}")
79
-
80
- payload = {
81
- "project_id": project_id,
82
- "source_geometry_id": source_geometry_id,
83
- "action": action,
84
- "name": name,
85
- "description": description,
86
- "model": model,
87
- "extra_simulation_kwargs": extra_simulation_kwargs,
88
- }
89
- result = post("api/phonon-run/", payload=payload)
90
- return result
91
-
92
-
93
- def get_phonon_sim_run_files(phonon_sim_run_id: str):
94
- """
95
- Get the files associated with a Phonon Simulation Run
96
- """
97
- result = get(f"api/phonon-run-simulation-file/?phono3py_run_simulation__id={phonon_sim_run_id}")
98
- return result
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes