Skip to content

Commit

Permalink
prepare for release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
f-brinkmann committed May 11, 2023
1 parent 6067bff commit dd9c672
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
9 changes: 4 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tagname>``, 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
5 changes: 4 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
@@ -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)
----------------------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.1.0
2 changes: 2 additions & 0 deletions tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
3 changes: 1 addition & 2 deletions tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit dd9c672

Please sign in to comment.