sxs 2024.0.28__py3-none-any.whl → 2024.0.29__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 -1
- sxs/simulations/simulations.py +3 -3
- {sxs-2024.0.28.dist-info → sxs-2024.0.29.dist-info}/METADATA +1 -1
- {sxs-2024.0.28.dist-info → sxs-2024.0.29.dist-info}/RECORD +7 -7
- {sxs-2024.0.28.dist-info → sxs-2024.0.29.dist-info}/WHEEL +0 -0
- {sxs-2024.0.28.dist-info → sxs-2024.0.29.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2024.0.
|
|
1
|
+
__version__ = "2024.0.29"
|
sxs/simulations/simulation.py
CHANGED
|
@@ -133,7 +133,7 @@ def Simulation(location, *args, **kwargs):
|
|
|
133
133
|
url = f"{doi_url}{sxs_id}"
|
|
134
134
|
|
|
135
135
|
# Deal with "superseded_by" field, or "deprecated" keyword in the metadata
|
|
136
|
-
deprecated = ("deprecated" in metadata.get("keywords", []) or metadata.get("superseded_by", False))
|
|
136
|
+
deprecated = ("deprecated" in metadata.get("keywords", []) )#or metadata.get("superseded_by", False))
|
|
137
137
|
if not kwargs.get("ignore_deprecation", False):
|
|
138
138
|
auto_supersede = kwargs.get("auto_supersede", read_config("auto_supersede", False))
|
|
139
139
|
if (
|
|
@@ -160,6 +160,12 @@ def Simulation(location, *args, **kwargs):
|
|
|
160
160
|
+ "specify a version to load this waveform anyway."
|
|
161
161
|
)
|
|
162
162
|
elif auto_supersede and isinstance(superseded_by, str):
|
|
163
|
+
# raise NotImplementedError(
|
|
164
|
+
# f"\nSimulation '{sxs_id}' cannot be automatically superseded.\n"
|
|
165
|
+
# + "The auto_supersede option is temporarily disabled. The superseding\n"
|
|
166
|
+
# + "simulations have been removed from the metadata, and the new function\n"
|
|
167
|
+
# + "to load them has not yet been implemented. Please specify a version.\n"
|
|
168
|
+
# )
|
|
163
169
|
message = f"\nSimulation '{sxs_id}' is being automatically superseded by '{superseded_by}'."
|
|
164
170
|
warn(message)
|
|
165
171
|
new_location = f"{superseded_by}{input_version}"
|
sxs/simulations/simulations.py
CHANGED
|
@@ -509,7 +509,7 @@ class Simulations(collections.OrderedDict):
|
|
|
509
509
|
# simulations["end_of_trajectory_time"].map(floater),
|
|
510
510
|
# simulations["merger_time"].map(floater),
|
|
511
511
|
simulations["number_of_orbits"].map(floater),
|
|
512
|
-
simulations["superseded_by"],
|
|
512
|
+
# simulations["superseded_by"],
|
|
513
513
|
simulations["DOI_versions"],
|
|
514
514
|
simulations["keywords"],
|
|
515
515
|
simulations["date_link_earliest"].map(datetime_from_string),
|
|
@@ -519,8 +519,8 @@ class Simulations(collections.OrderedDict):
|
|
|
519
519
|
), axis=1))
|
|
520
520
|
|
|
521
521
|
sims_df.insert(0, "deprecated", (
|
|
522
|
-
~sims_df.superseded_by.isna()
|
|
523
|
-
|
|
522
|
+
# ~sims_df.superseded_by.isna() |
|
|
523
|
+
sims_df["keywords"].map(lambda ks: "deprecated" in ks)
|
|
524
524
|
))
|
|
525
525
|
|
|
526
526
|
# We have ignored the following fields present in the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2024.0.
|
|
3
|
+
Version: 2024.0.29
|
|
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=7e6J-tZSsOjpc-ArB1X6N36VWAzISxlyWGGmed71rEQ,26
|
|
3
3
|
sxs/handlers.py,sha256=Nc1_aDKm_wDHg2cITI_ljbqU4VRWpwQ7fdgy3c1XcE8,17531
|
|
4
4
|
sxs/juliapkg.json,sha256=higH1UDu30K_PN6-o7lAz0j1xjgYEiCCYBAc-Iaw1Iw,178
|
|
5
5
|
sxs/time_series.py,sha256=OKaLg8tFyrtKcef7900ri-a0C6A8wKxA68KovZXvH6I,41081
|
|
@@ -19,8 +19,8 @@ sxs/metadata/__init__.py,sha256=KCvJ9Cf1WhIZp-z28UzarKcmUAzV2BOv2gqKiorILjo,149
|
|
|
19
19
|
sxs/metadata/metadata.py,sha256=y6X7LcsJKiZFjBPTwRHGtsT2uHf2s0r0OG_EGjD27pE,27663
|
|
20
20
|
sxs/simulations/__init__.py,sha256=GrZym0PHTULDg_hyFmISNzDfqVLz_hQo-djbgecZs54,134
|
|
21
21
|
sxs/simulations/local.py,sha256=CEu8PzumNB1-JA05M4tYSW_UZVrldKzOB5T_I3pFWls,5789
|
|
22
|
-
sxs/simulations/simulation.py,sha256=
|
|
23
|
-
sxs/simulations/simulations.py,sha256=
|
|
22
|
+
sxs/simulations/simulation.py,sha256=OqQh6xq-s_JoQI6e2XA5j194L0DT3HGYIW8ZZiurZ2Y,34631
|
|
23
|
+
sxs/simulations/simulations.py,sha256=KDb_c6btL2kLFXLZbk7ucZUTxnnhxd2aavfFheado4w,23785
|
|
24
24
|
sxs/utilities/__init__.py,sha256=WSStlqljfgQheMxHGfuofSc5LdmASGvO3FNO3f_zaT0,4806
|
|
25
25
|
sxs/utilities/bitwise.py,sha256=G9ZNYgwDQRhq5wbDf-p2HcUqkEP_IRDiQoXW4KyU17k,13205
|
|
26
26
|
sxs/utilities/dicts.py,sha256=CCpm3upG_9SRj9gjawukSUfaJ5asF-XRG2ausEXhYyg,695
|
|
@@ -80,7 +80,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
|
|
|
80
80
|
sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
|
|
81
81
|
sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
|
|
82
82
|
sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
|
|
83
|
-
sxs-2024.0.
|
|
84
|
-
sxs-2024.0.
|
|
85
|
-
sxs-2024.0.
|
|
86
|
-
sxs-2024.0.
|
|
83
|
+
sxs-2024.0.29.dist-info/METADATA,sha256=PCmR-cFzbd_Xd5Zp6EjpwW594Y-fZleSTNEbSMktFeM,9250
|
|
84
|
+
sxs-2024.0.29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
85
|
+
sxs-2024.0.29.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
86
|
+
sxs-2024.0.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|