Commit 5ee7f1e1 authored by valentin.emiya's avatar valentin.emiya
Browse files

CI tests pass

parent 2c9a0dc1
......@@ -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'
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment