... | @@ -2,7 +2,7 @@ |
... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
# Release details
|
|
# Release details
|
|
|
|
|
|
This release cherry-picks the relevant commits from https://git.ligo.org/lscsoft/pesummary/-/merge_requests/691 to the [`v0.13.3`](https://git.ligo.org/lscsoft/pesummary/-/tags/v0.13.3) tag. In order to ensure that this release passes the testing suite, we also cherry-picked the relevant commits from https://git.ligo.org/lscsoft/pesummary/-/merge_requests/658, https://git.ligo.org/lscsoft/pesummary/-/merge_requests/668 and commit 394dd514. A diff between the `release_v0.13.4` branch and `v0.13.3` tag can be seen below. The pipeline for the `release_v0.13.4` branch can be seen [here](https://git.ligo.org/lscsoft/pesummary/-/pipelines/402187).
|
|
This release cherry-picks the relevant commits from https://git.ligo.org/lscsoft/pesummary/-/merge_requests/691 to the [`v0.13.3`](https://git.ligo.org/lscsoft/pesummary/-/tags/v0.13.3) tag. In order to ensure that this release passes the testing suite, we also cherry-picked the relevant commits from https://git.ligo.org/lscsoft/pesummary/-/merge_requests/658, https://git.ligo.org/lscsoft/pesummary/-/merge_requests/668 and commits 394dd514, 8ad8d954. A diff between the `release_v0.13.4` branch and `v0.13.3` tag can be seen below. The pipeline for the `release_v0.13.4` branch can be seen [here](https://git.ligo.org/lscsoft/pesummary/-/pipelines/402187).
|
|
|
|
|
|
<details><summary>git diff v0.13.3</summary>
|
|
<details><summary>git diff v0.13.3</summary>
|
|
|
|
|
... | @@ -141,10 +141,10 @@ index 702e917..6061723 100644 |
... | @@ -141,10 +141,10 @@ index 702e917..6061723 100644 |
|
+ in range(len(vars(astropy_cosmology)[key]))
|
|
+ in range(len(vars(astropy_cosmology)[key]))
|
|
+ )
|
|
+ )
|
|
diff --git a/pesummary/tests/fetch_test.py b/pesummary/tests/fetch_test.py
|
|
diff --git a/pesummary/tests/fetch_test.py b/pesummary/tests/fetch_test.py
|
|
index 741d741..6788c7c 100644
|
|
index 741d741..001ce1c 100644
|
|
--- a/pesummary/tests/fetch_test.py
|
|
--- a/pesummary/tests/fetch_test.py
|
|
+++ b/pesummary/tests/fetch_test.py
|
|
+++ b/pesummary/tests/fetch_test.py
|
|
@@ -82,7 +82,8 @@ def test_fetch_open_samples():
|
|
@@ -82,14 +82,16 @@ def test_fetch_open_samples():
|
|
"""
|
|
"""
|
|
data = fetch_open_samples("GW150914")
|
|
data = fetch_open_samples("GW150914")
|
|
_data = requests.get(
|
|
_data = requests.get(
|
... | @@ -154,6 +154,17 @@ index 741d741..6788c7c 100644 |
... | @@ -154,6 +154,17 @@ index 741d741..6788c7c 100644 |
|
)
|
|
)
|
|
with open("GW150914_posterior_samples.h5", "wb") as f:
|
|
with open("GW150914_posterior_samples.h5", "wb") as f:
|
|
f.write(_data.content)
|
|
f.write(_data.content)
|
|
|
|
data2 = read("GW150914_posterior_samples.h5")
|
|
|
|
- np.testing.assert_almost_equal(
|
|
|
|
- np.array(data.samples), np.array(data2.samples)
|
|
|
|
- )
|
|
|
|
+ for num in range(len(data.labels)):
|
|
|
|
+ np.testing.assert_almost_equal(
|
|
|
|
+ np.array(data.samples[num]), np.array(data2.samples[num])
|
|
|
|
+ )
|
|
|
|
|
|
|
|
|
|
|
|
def test_fetch_open_strain():
|
|
diff --git a/pesummary/tests/pycbc.sh b/pesummary/tests/pycbc.sh
|
|
diff --git a/pesummary/tests/pycbc.sh b/pesummary/tests/pycbc.sh
|
|
index 1949edf..f14799f 100644
|
|
index 1949edf..f14799f 100644
|
|
--- a/pesummary/tests/pycbc.sh
|
|
--- a/pesummary/tests/pycbc.sh
|
... | | ... | |