bio-learn/biolearn

Incorrect error handling

Closed this issue · 1 comments

Cant display the ValueError when the KeyError is raised.

image

The right code is:
if not year in known_nhanes_year_suffix