sxs 2024.0.39__py3-none-any.whl → 2024.0.41__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/metadata/metadata.py +6 -2
- sxs/simulations/local.py +9 -1
- sxs/waveforms/alignment.py +1 -0
- {sxs-2024.0.39.dist-info → sxs-2024.0.41.dist-info}/METADATA +1 -1
- {sxs-2024.0.39.dist-info → sxs-2024.0.41.dist-info}/RECORD +8 -8
- {sxs-2024.0.39.dist-info → sxs-2024.0.41.dist-info}/WHEEL +0 -0
- {sxs-2024.0.39.dist-info → sxs-2024.0.41.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2024.0.
|
|
1
|
+
__version__ = "2024.0.41"
|
sxs/metadata/metadata.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import re
|
|
4
4
|
import collections
|
|
5
|
+
import numpy as np
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
_valid_identifier_pattern = re.compile(r'\W|^(?=\d)')
|
|
@@ -29,8 +30,11 @@ def _backwards_compatibility(metadata):
|
|
|
29
30
|
# it's probably a good idea to duplicate whatever is included here
|
|
30
31
|
# in that function, just to make sure nothing slips through the
|
|
31
32
|
# cracks.
|
|
32
|
-
if "number_of_orbits" not in metadata
|
|
33
|
-
|
|
33
|
+
if "number_of_orbits" not in metadata:
|
|
34
|
+
if "number_of_orbits_from_start" in metadata:
|
|
35
|
+
metadata["number_of_orbits"] = metadata["number_of_orbits_from_start"]
|
|
36
|
+
else:
|
|
37
|
+
metadata["number_of_orbits"] = np.nan
|
|
34
38
|
return metadata
|
|
35
39
|
|
|
36
40
|
|
sxs/simulations/local.py
CHANGED
|
@@ -153,7 +153,14 @@ def local_simulations(annex_dir, compute_md5=False, show_progress=False):
|
|
|
153
153
|
files = files_to_upload(dirpath, annex_dir)
|
|
154
154
|
|
|
155
155
|
metadata["mtime"] = datetime.fromtimestamp(
|
|
156
|
-
max(
|
|
156
|
+
max(
|
|
157
|
+
(
|
|
158
|
+
file.resolve().stat().st_mtime
|
|
159
|
+
for file in files
|
|
160
|
+
if file.exists()
|
|
161
|
+
),
|
|
162
|
+
default=0.0,
|
|
163
|
+
),
|
|
157
164
|
tz=timezone.utc,
|
|
158
165
|
).isoformat()
|
|
159
166
|
|
|
@@ -164,6 +171,7 @@ def local_simulations(annex_dir, compute_md5=False, show_progress=False):
|
|
|
164
171
|
"checksum": md5checksum(file) if compute_md5 else "",
|
|
165
172
|
}
|
|
166
173
|
for file in files
|
|
174
|
+
if file.exists()
|
|
167
175
|
}
|
|
168
176
|
except KeyboardInterrupt:
|
|
169
177
|
raise
|
sxs/waveforms/alignment.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2024.0.
|
|
3
|
+
Version: 2024.0.41
|
|
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=hbydsXWR88sFiKExPJ1NHWGEvWRbbJBjSc1irSMYKgY,2623
|
|
2
|
-
sxs/__version__.py,sha256=
|
|
2
|
+
sxs/__version__.py,sha256=o95yq2nvQ6FsIUfCHrH8nIWlGM_edEB29js8ZcW9LWw,26
|
|
3
3
|
sxs/handlers.py,sha256=Nc1_aDKm_wDHg2cITI_ljbqU4VRWpwQ7fdgy3c1XcE8,17531
|
|
4
4
|
sxs/juliapkg.json,sha256=-baaa3Za_KBmmiGjlh2YYLWmvUvZl6GaKKXwNI4S7qU,178
|
|
5
5
|
sxs/time_series.py,sha256=OKaLg8tFyrtKcef7900ri-a0C6A8wKxA68KovZXvH6I,41081
|
|
@@ -16,10 +16,10 @@ sxs/horizons/xor_multishuffle_bzip2.py,sha256=y4AKuxmLuj8K1pkdhIoSzENGyMu4uhpiPr
|
|
|
16
16
|
sxs/julia/GWFrames.py,sha256=47H9Ugff7ldGBujiUTcADT3b4MSxUtqmajvSApI91WA,2892
|
|
17
17
|
sxs/julia/__init__.py,sha256=uSLP_xfU-GZG7IO5vs0TEkCR4LH8aBYMF-852wDY3kI,3490
|
|
18
18
|
sxs/metadata/__init__.py,sha256=jz0A3sBYQoNVZ5sdHv6LgI6y4kP2051-esCR62xt6bM,184
|
|
19
|
-
sxs/metadata/metadata.py,sha256=
|
|
19
|
+
sxs/metadata/metadata.py,sha256=vqzNufg46BrbFAuvDF55JvrQc0ZIBxSG4eH2awv5PDs,28610
|
|
20
20
|
sxs/metadata/metric.py,sha256=zWyM23SQUMXwpDvQNnp2USJrwxiC3SoobFXm0h_sMMs,6615
|
|
21
21
|
sxs/simulations/__init__.py,sha256=GrZym0PHTULDg_hyFmISNzDfqVLz_hQo-djbgecZs54,134
|
|
22
|
-
sxs/simulations/local.py,sha256=
|
|
22
|
+
sxs/simulations/local.py,sha256=kyFvlw9CywlyBy0H2GiSgOp4M7Uq31Db5LIdd2do43M,8242
|
|
23
23
|
sxs/simulations/simulation.py,sha256=HRm6vaVGjRziQZ1VPOG1ESxaITgLAJCp4lhGZ4fpez8,36232
|
|
24
24
|
sxs/simulations/simulations.py,sha256=xP1ljseDSkfs6_u25-DnSNlFQtQexiP25Kwtm7nWdsE,23910
|
|
25
25
|
sxs/utilities/__init__.py,sha256=WSStlqljfgQheMxHGfuofSc5LdmASGvO3FNO3f_zaT0,4806
|
|
@@ -58,7 +58,7 @@ sxs/utilities/references/inspire.py,sha256=kDjY-UFJT-VTS3yJOT8fT6LJG-pRrX9TK8nv3
|
|
|
58
58
|
sxs/utilities/references/journal_abbreviations.py,sha256=SuRXcr4rv9YPbXD4mzujSvE7M6KS1lwELimuyn7mfCE,31018
|
|
59
59
|
sxs/utilities/references/references.py,sha256=29rPUZKw3dztXQLRDEt1hGYjZaONFd0qX--xQxzOmUU,418
|
|
60
60
|
sxs/waveforms/__init__.py,sha256=FPu_MFwfzcLsWhvoLm_AXRLz59eBODes4MY2_taTE5c,1150
|
|
61
|
-
sxs/waveforms/alignment.py,sha256=
|
|
61
|
+
sxs/waveforms/alignment.py,sha256=Z_fCnUIza89Vwzl5qo4spwd2-ZrzYxFU8Q7b6UKFtMU,21341
|
|
62
62
|
sxs/waveforms/memory.py,sha256=1BOov3QJl9wexgGt8HA8MqVZZfLKbykff5pRVzLiILo,7763
|
|
63
63
|
sxs/waveforms/mode_utilities.py,sha256=gxsW-hunCoIReBVv9IrkGLdshr0rmztbH-JRgD6D9z0,5253
|
|
64
64
|
sxs/waveforms/transformations.py,sha256=S5C-xnCk2umZlVsYgciyp7VMGZA8NI6md7OZp72upJU,9124
|
|
@@ -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-2024.0.
|
|
86
|
-
sxs-2024.0.
|
|
87
|
-
sxs-2024.0.
|
|
88
|
-
sxs-2024.0.
|
|
85
|
+
sxs-2024.0.41.dist-info/METADATA,sha256=IUvgoHcgUjDEQ3GRq__ZTr7Dn5n9kYi8EFtr-tOpRKM,9253
|
|
86
|
+
sxs-2024.0.41.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
87
|
+
sxs-2024.0.41.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
88
|
+
sxs-2024.0.41.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|