mne-tools/mne-python — pull request #1289 by maedoc (2014-05-19 16:50:07+00:00)
Title: Fix default ch_type handling in create_info

When no ch_types is given, io.array.create_info assumes `'misc'` but was immediately mapping this key through the _kind_dict, even though this is done farther down. Checking that each entry of ch_types is a string failed, and the error message was suspiciously copy pasta.

These commits fix these issues, and appears to work.