{"action":"closed","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/1922","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1922/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1922/events","html_url":"https://github.com/mne-tools/mne-python/issues/1922","id":65882374,"number":1922,"title":"BV raw not subclass of raw problem when setting reference","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-02T08:51:40Z","updated_at":"2015-04-02T11:01:27Z","closed_at":"2015-04-02T11:01:27Z","body":"Am I doing something wrong here, or is this a bug?\r\n\r\n```raw = mne.io.brainvision.read_raw_brainvision(vdhr_fname, \r\n                                            preload=True, verbose=False, \r\n                                            montage=montage_file, reference=\"M1\")```\r\ngives\r\n```TypeError: inst should be Raw, Epochs, or Evoked instead of <class 'mne.io.brainvision.brainvision.RawBrainVision'>.```\r\n\r\nIt works if no reference is specified, and it worked with reference specified in previous versions. Sorry, I don't understand class stuff enough right now to do it myself.\r\n@teonlamont "}}