Skip to content

Commit

Permalink
WIP: Modify extension matching for con and sqd (#405)
Browse files Browse the repository at this point in the history
* Modify extension matching for con and sqd

* Fix check-manifest

Co-authored-by: Richard Höchenberger <richard.hoechenberger@gmail.com>
  • Loading branch information
rob-luke and hoechenberger authored May 7, 2020
1 parent 4930b7a commit 1ce1717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ upload-pipy:
python setup.py sdist bdist_egg register upload

check-manifest:
check-manifest --ignore .circleci*,doc,.DS_Store
check-manifest --ignore .circleci/*,doc,.DS_Store

flake:
@if command -v flake8 > /dev/null; then \
Expand Down
2 changes: 1 addition & 1 deletion mne_bids/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ def write_raw_bids(raw, bids_basename, bids_root, events_data=None,
copyfile_eeglab(raw_fname, bids_fname)
elif ext == '.pdf':
copyfile_bti(raw_orig, op.join(data_path, bids_raw_folder))
elif ext == '.con' or '.sqd':
elif ext in ['.con', '.sqd']:
copyfile_kit(raw_fname, bids_fname, subject_id, session_id,
task, run, raw._init_kwargs)
else:
Expand Down

0 comments on commit 1ce1717

Please sign in to comment.