{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/3385","repository_url":"https://api.github.com/repos/mne-tools/mne-python","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3385/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3385/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3385/events","html_url":"https://github.com/mne-tools/mne-python/issues/3385","id":163935627,"number":3385,"title":".sfp import with long ch names","user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-05T20:12:31Z","updated_at":"2016-07-05T20:19:01Z","closed_at":null,"body":"The .sfp chan loc importer currently truncates long channel names. I came across this in a file with eye tracker channels included - 'L_GAZE_X' and 'L_GAZE_Y', which were truncated to have the same name, leading to all kinds of problems.\r\n\r\nCould we simply do `dtype = np.dtype('S16, f8, f8, f8')` instead of the `dtype = np.dtype('S4, f8, f8, f8')` we currently have? \r\n\r\nThis would still break at very long names. Possibly, a safer writer would process the strings line by line. But maybe long ch names are so rare it's not worth it."},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/230590626","html_url":"https://github.com/mne-tools/mne-python/issues/3385#issuecomment-230590626","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3385","id":230590626,"user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T20:19:01Z","updated_at":"2016-07-05T20:19:01Z","body":"@teonbrooks maybe you wanna do this, otherwise I'll start doing something horrible with .split and stuff."}}
{"actor":{"display_login":"jona-sassenhagen"}}