Any2HRTF / Mesh2HRTF

Open software for the numerical calculation of head-related transfer functions
European Union Public License 1.2
103 stars 11 forks source link

finalize_hrtf_simulation.py error. #103

Closed abidshahriar closed 1 year ago

abidshahriar commented 1 year ago

I am getting an error like this finalize_hrtf_simulation.py. Any advice would be appreciated. 9C7F3A86-C4B8-47A1-B85B-F47D0C76D3D7

germknoedlspeck commented 1 year ago

Hi @abidshahriar,

did you resolve the error or did you close the issue unintended?

abidshahriar commented 1 year ago

Hi @germknoedlspeck , Yes, very happy to resolve the error and finally been able to export my first SOFA ^_^ Cheers ! Thank you.

What i did was i resolved the inverted comma in like this:( Mesh2HRTF_version = '1.0.0-dev' ) in Output@HRTF.py file that solved the Syntax error. And the error that was showing in Traceback for that i have removed an extra parameter 'version' in sofa_write function. Worked like a charm.

germknoedlspeck commented 1 year ago

Excellent, I'm happy to hear that! Thank you for including the solution that worked for you. If people in the future have the same problem, we can point them to this issue thread 👍

f-brinkmann commented 1 year ago

In the latest Meh2HRTF release, this might be resolved because the version string now is 1.1.0 and any line breaks and spaces are striped from it within the Python API. Nevertheless it might be good to report this issue at https://sourceforge.net/p/mesh2hrtf-tools/code/ci/master/tree/ to see if it still persists. The Mesh2HRTF Tools are not an official part of Mesh2HRTF and we can't fully support issues related to them here.