From dd9c672be748a5d8714c2213110ade24f680bdc5 Mon Sep 17 00:00:00 2001 From: f-brinkmann Date: Thu, 11 May 2023 10:34:46 +0200 Subject: [PATCH] prepare for release 1.1.0 --- CONTRIBUTING.rst | 9 ++++----- HISTORY.rst | 5 ++++- VERSION | 2 +- tests/test_output.py | 2 ++ tests/test_tutorials.py | 3 +-- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c223d28f..372d1c58 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -104,12 +104,11 @@ Releasing To release a new Mesh2HRTF version do the following - Write the new version to the file VERSION and mesh2input.py -- Update HISTORY.rst (also include new contributors) - Commit all changes to develop -- merge develop into main +- Update HISTORY.rst (also include new contributors) - check if the tests pass - check if the documentation is building - check if installing the python package works via ``pip install -e .`` -- add a tag with the version number ``git tag ``, e.g. ``git tag v1.0.0`` -- push the tag using ``git push origin --follow-tags`` -- add a release on github +- merge develop into main +- add a tagg and release on github +- merge main into develop diff --git a/HISTORY.rst b/HISTORY.rst index cd26ffe7..f050c670 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,9 +1,12 @@ History ======= -v1.0.1 (7 Mai 2023) +v1.1.0 (11 Mai 2023) ------------------- +* Add dockerfile running the Mesh2HRTF Python API, `NumCalc`, and `hrtf_mesh_grading` * Fixed a bug in installing the Mesh2HRTF Python API +* Fixed a bug in `manage_numcalc` if running multiple Mesh2HRTF projects +* Fix order of HRIRs/HRTFs plotted by `inspect_sofa_files` when choosing the median or frontal plane v1.0.0 (28 April 2023) ---------------------- diff --git a/VERSION b/VERSION index 7dea76ed..9084fa2f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.1 +1.1.0 diff --git a/tests/test_output.py b/tests/test_output.py index d58a5f41..60a67356 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -148,6 +148,8 @@ def test_inspect_sofa_files_single_project( file_name = f"{file}_{plane}_plane.jpeg" assert not os.path.isfile(file_name) + plt.close('all') + def test_compute_hrir_custom_sampling_rate(): """Test compute HRIR with custom sampling rate""" diff --git a/tests/test_tutorials.py b/tests/test_tutorials.py index 4deb6f36..d741cb51 100644 --- a/tests/test_tutorials.py +++ b/tests/test_tutorials.py @@ -80,11 +80,10 @@ def test_tutorials(tutorial): cwd=tmp.name, check=True, capture_output=True) if run_numcalc: - # run manage_numcalc + # run manage_numcalc and process output print("running NumCalc") m2h.manage_numcalc(os.path.join(tmp.name, tutorial[:-3]), numcalc) - # run manage_numcalc print("running output2hrtf") m2h.output2hrtf(os.path.join(tmp.name, tutorial[:-3])) plt.close("all")