diff --git a/python/tffpy/tests/ci_config.py b/python/tffpy/tests/ci_config.py index 8042047a62c85407493bf43503c21d5a30031d85..c47b4d1a702865869627badf5fba6ecfd3411156 100644 --- a/python/tffpy/tests/ci_config.py +++ b/python/tffpy/tests/ci_config.py @@ -7,30 +7,24 @@ from configparser import ConfigParser from pathlib import Path import os -import scipy as sp -import matplotlib as mpl from yafe.utils import ConfigParser as YafeConfigParser from tffpy.utils import get_config_file, generate_config if __name__ == '__main__': - print(sp.__version__) - print(mpl.__version__) config_file = get_config_file() if not config_file.exists(): generate_config() config = ConfigParser() config.read(config_file) - print(len(Path(__file__).absolute().parents)) - print(list(Path(__file__).absolute().parents)) data_path = Path(__file__).absolute().parents[3] / 'data' print('Data path:', str(data_path)) config.set('DATA', 'data_path', str(data_path)) config.write(open(config_file, 'w')) yafe_config_file = YafeConfigParser._config_path - print(yafe_config_file) + print('Yafe configuration file:', yafe_config_file) if not yafe_config_file.exists(): yafe_user_path = Path(os.path.expanduser('~')) / 'yafe_user_path' yafe_logger_path = Path(os.path.expanduser('~')) / 'yafe_logger_path' diff --git a/python/tffpy/utils.py b/python/tffpy/utils.py index 3151309949051650163cfd8ac38c5132304936b8..0460a8462e6b60b0813874557eb40c1982bed68c 100755 --- a/python/tffpy/utils.py +++ b/python/tffpy/utils.py @@ -15,6 +15,7 @@ from ltfatpy import plotdgtreal, dgtreal, idgtreal def plot_mask(mask, hop, n_bins, fs): """ Plot time-frequency mask + Parameters ---------- mask : nd-array