sxs 2025.0.4__py3-none-any.whl → 2025.0.5__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 +25 -10
- {sxs-2025.0.4.dist-info → sxs-2025.0.5.dist-info}/METADATA +1 -1
- {sxs-2025.0.4.dist-info → sxs-2025.0.5.dist-info}/RECORD +6 -6
- {sxs-2025.0.4.dist-info → sxs-2025.0.5.dist-info}/WHEEL +0 -0
- {sxs-2025.0.4.dist-info → sxs-2025.0.5.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2025.0.
|
|
1
|
+
__version__ = "2025.0.5"
|
sxs/simulations/simulation.py
CHANGED
|
@@ -924,18 +924,33 @@ class Simulation_v3(Simulation_v2):
|
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
def get_file_info(metadata, sxs_id, download=None):
|
|
927
|
-
|
|
928
|
-
from .. import load_via_sxs_id
|
|
927
|
+
from .. import load, load_via_sxs_id
|
|
929
928
|
if "files" in metadata:
|
|
930
929
|
return metadata["files"]
|
|
931
930
|
truepath = Path(sxs_path_to_system_path(sxs_id)) / "zenodo_metadata.json"
|
|
932
931
|
record = load_via_sxs_id(sxs_id, "export/json", truepath=truepath, download=download)
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
932
|
+
if not record.get("files", {}).get("entries", []):
|
|
933
|
+
# CaltechDATA files should generally be already stored in the `simulations`,
|
|
934
|
+
# but just in case, we get to this point
|
|
935
|
+
truepath = Path(sxs_path_to_system_path(sxs_id)) / "caltechdata_files.json"
|
|
936
|
+
url = record["links"]["files"]
|
|
937
|
+
record = load(url, truepath=truepath, download=download)
|
|
938
|
+
entries = record["entries"]
|
|
939
|
+
return {
|
|
940
|
+
entry["key"]: {
|
|
941
|
+
"checksum": entry["checksum"],
|
|
942
|
+
"size": entry["size"],
|
|
943
|
+
"link": entry["links"]["content"],
|
|
944
|
+
}
|
|
945
|
+
for entry in entries
|
|
946
|
+
}
|
|
947
|
+
else:
|
|
948
|
+
entries = record["files"]["entries"]
|
|
949
|
+
return {
|
|
950
|
+
str(filename): {
|
|
951
|
+
"checksum": entry["checksum"],
|
|
952
|
+
"size": entry["size"],
|
|
953
|
+
"link": entry["links"]["content"],
|
|
954
|
+
}
|
|
955
|
+
for filename, entry in entries.items()
|
|
939
956
|
}
|
|
940
|
-
for filename, entry in entries.items()
|
|
941
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2025.0.
|
|
3
|
+
Version: 2025.0.5
|
|
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=pwtaOkpdfJXIYyXjNW6ETF4UXdNETB8v75JGtPKGkQw,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=RaImREx3fWlXgJRCI-Wsq0-LjidL-Mb8SIN3-n-TMqM,10373
|
|
20
20
|
sxs/simulations/local.py,sha256=e77SeaWMl2PWX_EndQtShOXZxcFKhQsUDQ55R2Njcuc,43
|
|
21
|
-
sxs/simulations/simulation.py,sha256=
|
|
21
|
+
sxs/simulations/simulation.py,sha256=QtGdZDOXgt7C44CqqvdJCCQmEkcXjxPUL-yDrUR13Ps,41741
|
|
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.5.dist-info/METADATA,sha256=SXThR-Zkm64ouogrNf6io6E-nU0oQE6_hnGPlSjIsJQ,9311
|
|
86
|
+
sxs-2025.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
87
|
+
sxs-2025.0.5.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
88
|
+
sxs-2025.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|