Skip to content

Commit

Permalink
MISC : use + not - with combining conditions in epochs
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Jan 23, 2014
1 parent 36f9d60 commit d6f809f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mne/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,8 @@ def __getitem__(self, key):
if isinstance(key, list) and isinstance(key[0], string_types):
select = np.any(np.atleast_2d([epochs._key_match(k)
for k in key]), axis=0)
epochs.name = ('-'.join(key) if epochs.name == 'Unknown'
else 'epochs_%s' % '-'.join(key))
epochs.name = ('+'.join(key) if epochs.name == 'Unknown'
else 'epochs_%s' % '+'.join(key))
else:
select = key if isinstance(key, slice) else np.atleast_1d(key)

Expand Down

0 comments on commit d6f809f

Please sign in to comment.