Skip to content

[CI] pyaudio3dtools extra prints, missing copyright headers under tests

While running BASOP comparisons locally, unnecessary prints in pyaudio3dtools have been observed spamming the console.

  • The warning suppression
with warnings.catch_warnings():

on line 727 of audioarray.py still lets warnings to be displayed. This can be fixed with

with warnings.catch_warnings(action='ignore'):
  • Line 485 of audioarray.py has a debug print that could be removed or directed to the same target as other prints.
print(len_seg, ref.shape, test.shape)

During the same work it was noticed that some routines under tests/ are currently missing the copyright header. These files include:

  • cmp_pcm.py
  • cmp_stats_files.py
  • constants.py
  • scale_pcm.py
  • test_be_for_ext_outputs.py
  • test_be_for_jbm_neutral_dly_profile.py

Tagging companies who have contributed to the relevant files.