Skip to content

Commit

Permalink
FIX: address comments by Teon
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmainak committed Nov 2, 2018
1 parent 21c6052 commit dacba65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mne_bids/commands/mne_bids_raw_to_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def run():

parser = get_optparser(__file__)

parser.set_defaults(kind='meg')
parser.add_option('--subject_id', dest='subject_id',
help=('The subject name in BIDS compatible format',
'(01,02, etc.)'), metavar='s')
Expand All @@ -38,9 +37,6 @@ def run():
parser.add_option('--acq', dest='acq',
help='The acquisition parameter.',
metavar='acq')
parser.add_option('--kind', dest='kind',
help='The kind of data being converted.',
metavar='k')
parser.add_option('--events_data', dest='events_data',
help='The events file.', metavar='evt')
parser.add_option('--event_id', dest='event_id',
Expand Down
2 changes: 2 additions & 0 deletions mne_bids/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def _read_raw(raw_fname, electrode=None, hsp=None, hpi=None, config=None,
raw = reader[ext](raw_fname)

# EDF (european data format) or BDF (biosemi) format
# TODO: integrate with lines above once MNE can read
# annotations with preload=False
elif ext in ['.edf', '.bdf']:
raw = reader[ext](raw_fname, preload=True)

Expand Down

0 comments on commit dacba65

Please sign in to comment.