sxs 2025.0.8__py3-none-any.whl → 2025.0.9__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.
- sxs/__version__.py +1 -1
- sxs/simulations/simulation.py +7 -4
- {sxs-2025.0.8.dist-info → sxs-2025.0.9.dist-info}/METADATA +1 -1
- {sxs-2025.0.8.dist-info → sxs-2025.0.9.dist-info}/RECORD +6 -6
- {sxs-2025.0.8.dist-info → sxs-2025.0.9.dist-info}/WHEEL +0 -0
- {sxs-2025.0.8.dist-info → sxs-2025.0.9.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2025.0.
|
|
1
|
+
__version__ = "2025.0.9"
|
sxs/simulations/simulation.py
CHANGED
|
@@ -233,7 +233,7 @@ def Simulation(location, *args, **kwargs):
|
|
|
233
233
|
)
|
|
234
234
|
warn(message)
|
|
235
235
|
new_location = f"{superseding}{input_version}"
|
|
236
|
-
if input_lev_number:
|
|
236
|
+
if input_lev_number is not None:
|
|
237
237
|
new_location += f"/Lev{input_lev_number}"
|
|
238
238
|
return Simulation(new_location, *args, **kwargs)
|
|
239
239
|
|
|
@@ -250,7 +250,7 @@ def Simulation(location, *args, **kwargs):
|
|
|
250
250
|
# If Lev is given as part of `location`, use it; otherwise, use the highest available
|
|
251
251
|
lev_numbers = metadata.get(
|
|
252
252
|
"lev_numbers",
|
|
253
|
-
sorted({lev_num for f in metadata.get("files", []) if (lev_num:=lev_number(f))})
|
|
253
|
+
sorted({lev_num for f in metadata.get("files", []) if (lev_num:=lev_number(f)) is not None})
|
|
254
254
|
)
|
|
255
255
|
if not lev_numbers:
|
|
256
256
|
raise ValueError(f"Could not find Levs for {location}")
|
|
@@ -259,7 +259,10 @@ def Simulation(location, *args, **kwargs):
|
|
|
259
259
|
f"Lev number '{input_lev_number}' not found in simulation files for {sxs_id}"
|
|
260
260
|
)
|
|
261
261
|
max_lev_number = max(lev_numbers)
|
|
262
|
-
|
|
262
|
+
if input_lev_number is not None:
|
|
263
|
+
output_lev_number = input_lev_number
|
|
264
|
+
else:
|
|
265
|
+
output_lev_number = max_lev_number
|
|
263
266
|
if output_lev_number is None:
|
|
264
267
|
raise ValueError(
|
|
265
268
|
f"No Lev number found for {location}"
|
|
@@ -270,7 +273,7 @@ def Simulation(location, *args, **kwargs):
|
|
|
270
273
|
# or a less-than-maximal Lev
|
|
271
274
|
if (
|
|
272
275
|
version_is_not_default
|
|
273
|
-
or
|
|
276
|
+
or output_lev_number != max_lev_number
|
|
274
277
|
):
|
|
275
278
|
metadata = None
|
|
276
279
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2025.0.
|
|
3
|
+
Version: 2025.0.9
|
|
4
4
|
Summary: Interface to data produced by the Simulating eXtreme Spacetimes collaboration
|
|
5
5
|
Project-URL: Homepage, https://github.com/sxs-collaboration/sxs
|
|
6
6
|
Project-URL: Documentation, https://sxs.readthedocs.io/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sxs/__init__.py,sha256=8PntABL6yx7Ad70hP7WedNAVDTZiwm_2At5xIQGo4k8,2610
|
|
2
|
-
sxs/__version__.py,sha256=
|
|
2
|
+
sxs/__version__.py,sha256=bJ1sZ9oROn9G9ZDBWzG6wiJYNXAEycXq6KeuuangpJc,25
|
|
3
3
|
sxs/handlers.py,sha256=jVV-HK-omzoBx5N2wcpLHvyoWq86hUfWCjnGbPpD91I,18343
|
|
4
4
|
sxs/juliapkg.json,sha256=-baaa3Za_KBmmiGjlh2YYLWmvUvZl6GaKKXwNI4S7qU,178
|
|
5
5
|
sxs/time_series.py,sha256=OKaLg8tFyrtKcef7900ri-a0C6A8wKxA68KovZXvH6I,41081
|
|
@@ -18,7 +18,7 @@ sxs/metadata/metric.py,sha256=Tsig1Jm50OO8r89zfjCuQ4i3JAoiazSb4J9qYtPWKgM,41
|
|
|
18
18
|
sxs/simulations/__init__.py,sha256=eXkheYhRaYyKjul5J1IXpoJ7Wq4nr3Tgwr-HSS3BTek,156
|
|
19
19
|
sxs/simulations/analyze.py,sha256=YwX0i_GRATRpvp7T8VheShkclvqYsraGDDKEkJQxJnw,11530
|
|
20
20
|
sxs/simulations/local.py,sha256=e77SeaWMl2PWX_EndQtShOXZxcFKhQsUDQ55R2Njcuc,43
|
|
21
|
-
sxs/simulations/simulation.py,sha256=
|
|
21
|
+
sxs/simulations/simulation.py,sha256=8PJOyvC901XYzY1adPqrP-zpfVHYm8AsuHWx-FoREWo,42435
|
|
22
22
|
sxs/simulations/simulations.py,sha256=sMle89VoD1CQni1N23Vjo3h2yj9LHHAtuaB_qfD3Wgg,109
|
|
23
23
|
sxs/utilities/__init__.py,sha256=WSStlqljfgQheMxHGfuofSc5LdmASGvO3FNO3f_zaT0,4806
|
|
24
24
|
sxs/utilities/bitwise.py,sha256=G9ZNYgwDQRhq5wbDf-p2HcUqkEP_IRDiQoXW4KyU17k,13205
|
|
@@ -82,7 +82,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
|
|
|
82
82
|
sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
|
|
83
83
|
sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
|
|
84
84
|
sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
|
|
85
|
-
sxs-2025.0.
|
|
86
|
-
sxs-2025.0.
|
|
87
|
-
sxs-2025.0.
|
|
88
|
-
sxs-2025.0.
|
|
85
|
+
sxs-2025.0.9.dist-info/METADATA,sha256=6x201xfU_VJBuOrRmF6zYuzpJHrh5iWn_hb5s_lPqAY,9311
|
|
86
|
+
sxs-2025.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
87
|
+
sxs-2025.0.9.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
88
|
+
sxs-2025.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|