chipmuenk / pyfda

Python Filter Design Analysis Tool
http://chipmuenk.github.io/
MIT License
655 stars 93 forks source link

Key error 'min' when editing P/Z or coeffs #256

Closed chipmuenk closed 2 hours ago

chipmuenk commented 2 hours ago

When P/Z or coeffs of a filter are edited that has been designed with 'min' filter order, the following error occurs:

File "/home/cmuenker/Daten/design/python/git/pyfda/pyfda/input_widgets/input_specs.py", line 126, in process_sig_rx
  self.update_UI(dict_sig)
File "/home/cmuenker/Daten/design/python/git/pyfda/pyfda/input_widgets/input_specs.py", line 314, in update_UI
 all_widgets = fb.fil_tree[rt][ft][fc][fo]
File "/home/cmuenker/Daten/design/python/git/pyfda/pyfda/libs/frozendict.py", line 148, in __getitem__
raise KeyError(key)
KeyError: 'min'

The reason is probably that filter type 'Manual' is selected automatically which has no 'min' algorithm.