epodium / time_series_generator

Create synthetic time series data
Apache License 2.0
0 stars 0 forks source link

fixed yaml load warning #19

Closed eriktks closed 3 years ago

eriktks commented 3 years ago

List of related issues or pull requests

Refs: #12

Describe the changes made in this pull request

Defined a loader in a yaml.load() call to avoid a deprecation warning

Instructions to review the pull request

  1. Run the notebook TS_generation_example.ipynb. It should give a warning after line TSC_02 = TSgen.load_TS_class(filename) : ts_generator/TS_generator.py:74: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated
  2. install this PR
  3. Rerun the notebook TS_generation_example.ipynb. The warning should have disappeared