Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input_filter.py throws a type error when filter type does not exist #42

Closed
chipmuenk opened this issue May 2, 2016 · 1 comment
Closed

Comments

@chipmuenk
Copy link
Owner

How to reproduce the issue:

  • run python -m pyfda.input_widgets.input_filter
    (Lowpass, FIR, Equiripple should be selected)
  • select 'Minimum Order'
  • select 'Bandpass' ... and:

379: self.fo = foList[0] # use first list entry from filterTree

TypeError: 'dict_keys' object does not support indexing

Here, a minimum order bandpass is not contained in the filter dict. Consequently, it should not be selectable at all. But it is and it produces the error above.

@chipmuenk
Copy link
Owner Author

fixed in v0.1rc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant