Skip to content

Commit

Permalink
FIX MneExperiemnt._sysname(): return sysname for files with KIT-id
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Nov 15, 2016
1 parent 30bb2fc commit 81f1e7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eelbrain/_experiment/mne_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,11 @@ def _ndvar_name_for_modality(modality):

def _sysname(self, fiff, subject, modality):
if fiff.info.get('kit_system_id'):
return # no need to guess
try:
return load.fiff.KIT_NEIGHBORS[fiff.info['kit_system_id']]
except KeyError:
raise NotImplementedError("Unknown KIT system-ID: %r" %
(fiff.info['kit_system_id'],))
elif modality != '':
return # handled in self._fix_eeg_ndvar()
if isinstance(self.meg_system, str):
Expand Down

0 comments on commit 81f1e7e

Please sign in to comment.