atomict 1.2.9__py3-none-any.whl → 1.2.11__py3-none-any.whl

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.
atomict/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.9"
1
+ __version__ = "1.2.11"
atomict/cli/main.py CHANGED
@@ -128,7 +128,7 @@ def convert(input_file, output_file, strict_map_keys):
128
128
  elif input_ext in traj_msgpack_formats:
129
129
  atoms, _ = load_msgpack_trajectory(input_file, strict_map_key=strict_map_keys)
130
130
  else:
131
- atoms = read(input_file)
131
+ atoms = read(input_file, index=":")
132
132
  except UnknownFileTypeError:
133
133
  console.print(f"[red]Error: Unknown file type for input file '{input_file}'[/red]")
134
134
  console.print(f"[yellow]The file extension '{input_ext}' is not recognized.[/yellow]")
@@ -88,7 +88,11 @@ def fetch_relaxed_geometry(sim: dict, workbench_dir: str) -> Atoms:
88
88
  extension = sim["starting_structure_userupload"]["orig_name"].split(".")[-1]
89
89
 
90
90
  download_file(sim["starting_structure_userupload"]["uuid"], workbench_dir + f"/relaxed.{extension}")
91
- atoms = read(workbench_dir + f"/relaxed.{extension}")
91
+
92
+ if extension == "atraj":
93
+ atoms, _ = load_msgpack_trajectory(workbench_dir + f"/relaxed.{extension}")
94
+ else:
95
+ atoms = read(workbench_dir + f"/relaxed.{extension}")
92
96
 
93
97
  if isinstance(atoms, list):
94
98
  return atoms[-1]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomict
3
- Version: 1.2.9
3
+ Version: 1.2.11
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
@@ -1,12 +1,12 @@
1
1
  atomict/__init__.py,sha256=nMXg9GFsk8gCcyBnh1MAeUPvo4Zcuv3sdwGHZrxfpPE,36
2
- atomict/__version__.py,sha256=Oh3Y6CIypkhAjW-aquBTyP3_cA-gKgKTwq9EpcWpjps,22
2
+ atomict/__version__.py,sha256=aBWZsCYiXXcSUsUJr3tOTQWsH7ZDqJzyMYdQbOd5Qtc,23
3
3
  atomict/api.py,sha256=1aI2qPMm6V9VY4PLR8LBMm2WwVCBB9pAL7sEowvjhtc,6706
4
4
  atomict/auth.py,sha256=yMEaxaSg44tSDxr4x-bjwjjn9zIsqw_bVoKd01Zd9LU,987
5
5
  atomict/env.py,sha256=RqK5SUfCDJ6aMGtCPhNmSrwsNZSjlGaDQYYk41oeBDc,2115
6
6
  atomict/exceptions.py,sha256=-PT-Bw-2SoPAME0ELXCXRBsU7tBOAbHTscnvnGRto-4,146
7
7
  atomict/ase/atatoms.py,sha256=LGGopVFR1jLJCSCASnpmOSeCl7TSmWXr6Nf6GqIMsSo,26852
8
8
  atomict/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- atomict/cli/main.py,sha256=pMG0KtS3cFPbTpzmtei75ShOV_HmcH3ebghmgs-f60s,9703
9
+ atomict/cli/main.py,sha256=M8T_cJUAwha4tnBWRRwIr3iiG2hBLyJAk-uewu3sy5A,9714
10
10
  atomict/cli/commands/adsorbate.py,sha256=fdu6m5Kx2fkQXA--BsvU5QWcq0-PKFi7bGaLJZnnqag,5836
11
11
  atomict/cli/commands/ai_assist.py,sha256=IgZyoeL5mdwkcwxKWD7y0Enjus-wSlrYee-keyacOOY,3449
12
12
  atomict/cli/commands/catalysis.py,sha256=raBRBttv3R2ZQvZBnyIlnBXJyZbpISL_5_WWXHg3X_s,5502
@@ -71,7 +71,7 @@ atomict/simulation/models.py,sha256=2gBPyRo5I6TJetc8iqu7W6gF3eJr9D-zqffonooaJxs,
71
71
  atomict/simulation/phonon.py,sha256=_roteuXyV8KmlwGW1jnidSY6xu_3ReNhLtYGL0OdS8Q,2950
72
72
  atomict/simulation/qe.py,sha256=p46YiHj_HIiqxrQGs-SBuGoWk5zUiHahXIRcyjdEq3c,1702
73
73
  atomict/simulation/sqs.py,sha256=1neQRVUy21R_UVusML6ocz6RVwxGUVh81CMr2TljGbw,1132
74
- atomict/simulation/utils.py,sha256=P4C0D0m9IkX3TqEjhadEECz7FlfgbzEffNHp267pTjI,3627
74
+ atomict/simulation/utils.py,sha256=Y80zRtQg3cIWsepLEcwZTSmg9KjKBgTODClbCD88dOY,3775
75
75
  atomict/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
76
  atomict/user/files.py,sha256=8xGPkISOIiFYsYr26k8OqGE3G7q096zdtV6uy6YTtVU,875
77
77
  atomict/user/workspace.py,sha256=qH-iF8kLj7Zpj646NFF_G3d4_P22jQjw5une-ZBiBak,3923
@@ -79,9 +79,9 @@ atomict/utils/tenacity.py,sha256=phc6YPEk7idqiFFeHeK-ngiAaqVOZFYp8S7dX1k-YXc,998
79
79
  atomict/utils/traj.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  atomict/utils/fhiaims/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
81
  atomict/utils/fhiaims/geometry.py,sha256=3Ap6gO7UsLFXBl9Ohv8Vmfpvwu0fohpzgdxOFGg6Tmc,2281
82
- atomict-1.2.9.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
83
- atomict-1.2.9.dist-info/METADATA,sha256=y09I7mXNutj6J-xeIPPZexyuYHcMPo3sW-MItpvzZX8,3269
84
- atomict-1.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
- atomict-1.2.9.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
86
- atomict-1.2.9.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
87
- atomict-1.2.9.dist-info/RECORD,,
82
+ atomict-1.2.11.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
83
+ atomict-1.2.11.dist-info/METADATA,sha256=lq-2iE5JLz2t3xn9OSpr2NUH33Wjl3mpu0F8Q1ldqQk,3270
84
+ atomict-1.2.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
+ atomict-1.2.11.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
86
+ atomict-1.2.11.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
87
+ atomict-1.2.11.dist-info/RECORD,,