Vin985 / ecosongs

GNU General Public License v3.0
0 stars 0 forks source link

Change spectrogram generator defaults #21

Closed Vin985 closed 5 years ago

Vin985 commented 5 years ago

As it is now, if not using the gui, no defaults are provided.

Worse, if default is None (possible in some cases due to librosa) an error is thrown in some cases as the function searches in undefined attributes

Vin985 commented 5 years ago

Add defaults in the generator initialization and only load data from settings if the property is set

See also #20

Vin985 commented 5 years ago

Issue now obsolete since generators have been removed and spectrogram generation is done either through arguments or a dict that can be loaded from settings