{"action":"created","comment":{"url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/comments/226486139","pull_request_review_id":166321158,"id":226486139,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ4NjEzOQ==","diff_hunk":"@@ -68,6 +70,21 @@ def test_fif():\n     raw_to_bids(subject_id=subject_id2, run=run, task=task, acquisition=acq,\n                 session_id=session_id, raw_file=raw_fname2,\n                 events_data=events_fname, output_path=output_path,\n+                event_id=event_id, overwrite=False)\n+    # check that the overwrite parameters work correctly for the participant\n+    # data\n+    # change the gender but don't force overwrite.\n+    raw.info['subject_info'] = {'his_id': subject_id2,\n+                                'birthday': (1994, 1, 26), 'sex': 2}\n+    with pytest.raises(OSError, match=\"already exists\"):","path":"mne_bids/tests/test_mne_bids.py","position":44,"original_position":44,"commit_id":"c2ac15e4555761ae8771af9884aaf9484404c551","original_commit_id":"c2ac15e4555761ae8771af9884aaf9484404c551","user":{"login":"monkeyman192","id":8000597,"node_id":"MDQ6VXNlcjgwMDA1OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8000597?v=4","gravatar_id":"","url":"https://api.github.com/users/monkeyman192","html_url":"https://github.com/monkeyman192","followers_url":"https://api.github.com/users/monkeyman192/followers","following_url":"https://api.github.com/users/monkeyman192/following{/other_user}","gists_url":"https://api.github.com/users/monkeyman192/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyman192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyman192/subscriptions","organizations_url":"https://api.github.com/users/monkeyman192/orgs","repos_url":"https://api.github.com/users/monkeyman192/repos","events_url":"https://api.github.com/users/monkeyman192/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyman192/received_events","type":"User","site_admin":false},"body":"you mean all the `OSError`'s? I had them because the actual error I wanted doesn't exist in python 2.7, (`FileExistsError`), so I used what it is a pseudonym for which is `OSError(errno.EEXIST)`","created_at":"2018-10-18T22:30:06Z","updated_at":"2018-10-18T22:30:06Z","html_url":"https://github.com/mne-tools/mne-bids/pull/99#discussion_r226486139","pull_request_url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/comments/226486139"},"html":{"href":"https://github.com/mne-tools/mne-bids/pull/99#discussion_r226486139"},"pull_request":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99"}},"in_reply_to_id":226456563},"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99","id":217551152,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTUxMTUy","html_url":"https://github.com/mne-tools/mne-bids/pull/99","diff_url":"https://github.com/mne-tools/mne-bids/pull/99.diff","patch_url":"https://github.com/mne-tools/mne-bids/pull/99.patch","issue_url":"https://api.github.com/repos/mne-tools/mne-bids/issues/99","number":99,"state":"open","locked":false,"title":"[MRG] improve semantics of overwrite argument","user":{"login":"monkeyman192","id":8000597,"node_id":"MDQ6VXNlcjgwMDA1OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8000597?v=4","gravatar_id":"","url":"https://api.github.com/users/monkeyman192","html_url":"https://github.com/monkeyman192","followers_url":"https://api.github.com/users/monkeyman192/followers","following_url":"https://api.github.com/users/monkeyman192/following{/other_user}","gists_url":"https://api.github.com/users/monkeyman192/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyman192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyman192/subscriptions","organizations_url":"https://api.github.com/users/monkeyman192/orgs","repos_url":"https://api.github.com/users/monkeyman192/repos","events_url":"https://api.github.com/users/monkeyman192/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyman192/received_events","type":"User","site_admin":false},"body":"closes #82 ","created_at":"2018-09-24T03:36:30Z","updated_at":"2018-10-18T22:30:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ed8010cb6cba40264f230a6ab1f59f5f0e9e181","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/mne-tools/mne-bids/milestones/1","html_url":"https://github.com/mne-tools/mne-bids/milestone/1","labels_url":"https://api.github.com/repos/mne-tools/mne-bids/milestones/1/labels","id":3562301,"node_id":"MDk6TWlsZXN0b25lMzU2MjMwMQ==","number":1,"title":"0.1.0 release 🎉","description":"","creator":{"login":"teonbrooks","id":1578674,"node_id":"MDQ6VXNlcjE1Nzg2NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1578674?v=4","gravatar_id":"","url":"https://api.github.com/users/teonbrooks","html_url":"https://github.com/teonbrooks","followers_url":"https://api.github.com/users/teonbrooks/followers","following_url":"https://api.github.com/users/teonbrooks/following{/other_user}","gists_url":"https://api.github.com/users/teonbrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/teonbrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teonbrooks/subscriptions","organizations_url":"https://api.github.com/users/teonbrooks/orgs","repos_url":"https://api.github.com/users/teonbrooks/repos","events_url":"https://api.github.com/users/teonbrooks/events{/privacy}","received_events_url":"https://api.github.com/users/teonbrooks/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":18,"state":"open","created_at":"2018-08-11T05:13:20Z","updated_at":"2018-10-17T15:13:06Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99/commits","review_comments_url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99/comments","review_comment_url":"https://api.github.com/repos/mne-tools/mne-bids/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mne-tools/mne-bids/issues/99/comments","statuses_url":"https://api.github.com/repos/mne-tools/mne-bids/statuses/c2ac15e4555761ae8771af9884aaf9484404c551","head":{"label":"monkeyman192:override_fix","ref":"override_fix","sha":"c2ac15e4555761ae8771af9884aaf9484404c551","user":{"login":"monkeyman192","id":8000597,"node_id":"MDQ6VXNlcjgwMDA1OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8000597?v=4","gravatar_id":"","url":"https://api.github.com/users/monkeyman192","html_url":"https://github.com/monkeyman192","followers_url":"https://api.github.com/users/monkeyman192/followers","following_url":"https://api.github.com/users/monkeyman192/following{/other_user}","gists_url":"https://api.github.com/users/monkeyman192/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyman192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyman192/subscriptions","organizations_url":"https://api.github.com/users/monkeyman192/orgs","repos_url":"https://api.github.com/users/monkeyman192/repos","events_url":"https://api.github.com/users/monkeyman192/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyman192/received_events","type":"User","site_admin":false},"repo":{"id":136998356,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY5OTgzNTY=","name":"mne-bids","full_name":"monkeyman192/mne-bids","private":false,"owner":{"login":"monkeyman192","id":8000597,"node_id":"MDQ6VXNlcjgwMDA1OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8000597?v=4","gravatar_id":"","url":"https://api.github.com/users/monkeyman192","html_url":"https://github.com/monkeyman192","followers_url":"https://api.github.com/users/monkeyman192/followers","following_url":"https://api.github.com/users/monkeyman192/following{/other_user}","gists_url":"https://api.github.com/users/monkeyman192/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyman192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyman192/subscriptions","organizations_url":"https://api.github.com/users/monkeyman192/orgs","repos_url":"https://api.github.com/users/monkeyman192/repos","events_url":"https://api.github.com/users/monkeyman192/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyman192/received_events","type":"User","site_admin":false},"html_url":"https://github.com/monkeyman192/mne-bids","description":"MNE BIDS ","fork":true,"url":"https://api.github.com/repos/monkeyman192/mne-bids","forks_url":"https://api.github.com/repos/monkeyman192/mne-bids/forks","keys_url":"https://api.github.com/repos/monkeyman192/mne-bids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monkeyman192/mne-bids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monkeyman192/mne-bids/teams","hooks_url":"https://api.github.com/repos/monkeyman192/mne-bids/hooks","issue_events_url":"https://api.github.com/repos/monkeyman192/mne-bids/issues/events{/number}","events_url":"https://api.github.com/repos/monkeyman192/mne-bids/events","assignees_url":"https://api.github.com/repos/monkeyman192/mne-bids/assignees{/user}","branches_url":"https://api.github.com/repos/monkeyman192/mne-bids/branches{/branch}","tags_url":"https://api.github.com/repos/monkeyman192/mne-bids/tags","blobs_url":"https://api.github.com/repos/monkeyman192/mne-bids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monkeyman192/mne-bids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monkeyman192/mne-bids/git/refs{/sha}","trees_url":"https://api.github.com/repos/monkeyman192/mne-bids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monkeyman192/mne-bids/statuses/{sha}","languages_url":"https://api.github.com/repos/monkeyman192/mne-bids/languages","stargazers_url":"https://api.github.com/repos/monkeyman192/mne-bids/stargazers","contributors_url":"https://api.github.com/repos/monkeyman192/mne-bids/contributors","subscribers_url":"https://api.github.com/repos/monkeyman192/mne-bids/subscribers","subscription_url":"https://api.github.com/repos/monkeyman192/mne-bids/subscription","commits_url":"https://api.github.com/repos/monkeyman192/mne-bids/commits{/sha}","git_commits_url":"https://api.github.com/repos/monkeyman192/mne-bids/git/commits{/sha}","comments_url":"https://api.github.com/repos/monkeyman192/mne-bids/comments{/number}","issue_comment_url":"https://api.github.com/repos/monkeyman192/mne-bids/issues/comments{/number}","contents_url":"https://api.github.com/repos/monkeyman192/mne-bids/contents/{+path}","compare_url":"https://api.github.com/repos/monkeyman192/mne-bids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monkeyman192/mne-bids/merges","archive_url":"https://api.github.com/repos/monkeyman192/mne-bids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monkeyman192/mne-bids/downloads","issues_url":"https://api.github.com/repos/monkeyman192/mne-bids/issues{/number}","pulls_url":"https://api.github.com/repos/monkeyman192/mne-bids/pulls{/number}","milestones_url":"https://api.github.com/repos/monkeyman192/mne-bids/milestones{/number}","notifications_url":"https://api.github.com/repos/monkeyman192/mne-bids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monkeyman192/mne-bids/labels{/name}","releases_url":"https://api.github.com/repos/monkeyman192/mne-bids/releases{/id}","deployments_url":"https://api.github.com/repos/monkeyman192/mne-bids/deployments","created_at":"2018-06-12T01:04:39Z","updated_at":"2018-07-17T06:29:21Z","pushed_at":"2018-10-18T04:41:00Z","git_url":"git://github.com/monkeyman192/mne-bids.git","ssh_url":"git@github.com:monkeyman192/mne-bids.git","clone_url":"https://github.com/monkeyman192/mne-bids.git","svn_url":"https://github.com/monkeyman192/mne-bids","homepage":"http://mne-tools.github.io/mne-bids/","size":1202,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mne-tools:master","ref":"master","sha":"1c4056427546127cf08a7fd6a668bb50bd13d703","user":{"login":"mne-tools","id":583875,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4Mzg3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/583875?v=4","gravatar_id":"","url":"https://api.github.com/users/mne-tools","html_url":"https://github.com/mne-tools","followers_url":"https://api.github.com/users/mne-tools/followers","following_url":"https://api.github.com/users/mne-tools/following{/other_user}","gists_url":"https://api.github.com/users/mne-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/mne-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mne-tools/subscriptions","organizations_url":"https://api.github.com/users/mne-tools/orgs","repos_url":"https://api.github.com/users/mne-tools/repos","events_url":"https://api.github.com/users/mne-tools/events{/privacy}","received_events_url":"https://api.github.com/users/mne-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":89170358,"node_id":"MDEwOlJlcG9zaXRvcnk4OTE3MDM1OA==","name":"mne-bids","full_name":"mne-tools/mne-bids","private":false,"owner":{"login":"mne-tools","id":583875,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4Mzg3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/583875?v=4","gravatar_id":"","url":"https://api.github.com/users/mne-tools","html_url":"https://github.com/mne-tools","followers_url":"https://api.github.com/users/mne-tools/followers","following_url":"https://api.github.com/users/mne-tools/following{/other_user}","gists_url":"https://api.github.com/users/mne-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/mne-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mne-tools/subscriptions","organizations_url":"https://api.github.com/users/mne-tools/orgs","repos_url":"https://api.github.com/users/mne-tools/repos","events_url":"https://api.github.com/users/mne-tools/events{/privacy}","received_events_url":"https://api.github.com/users/mne-tools/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mne-tools/mne-bids","description":"MNE BIDS ","fork":false,"url":"https://api.github.com/repos/mne-tools/mne-bids","forks_url":"https://api.github.com/repos/mne-tools/mne-bids/forks","keys_url":"https://api.github.com/repos/mne-tools/mne-bids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mne-tools/mne-bids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mne-tools/mne-bids/teams","hooks_url":"https://api.github.com/repos/mne-tools/mne-bids/hooks","issue_events_url":"https://api.github.com/repos/mne-tools/mne-bids/issues/events{/number}","events_url":"https://api.github.com/repos/mne-tools/mne-bids/events","assignees_url":"https://api.github.com/repos/mne-tools/mne-bids/assignees{/user}","branches_url":"https://api.github.com/repos/mne-tools/mne-bids/branches{/branch}","tags_url":"https://api.github.com/repos/mne-tools/mne-bids/tags","blobs_url":"https://api.github.com/repos/mne-tools/mne-bids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mne-tools/mne-bids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mne-tools/mne-bids/git/refs{/sha}","trees_url":"https://api.github.com/repos/mne-tools/mne-bids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mne-tools/mne-bids/statuses/{sha}","languages_url":"https://api.github.com/repos/mne-tools/mne-bids/languages","stargazers_url":"https://api.github.com/repos/mne-tools/mne-bids/stargazers","contributors_url":"https://api.github.com/repos/mne-tools/mne-bids/contributors","subscribers_url":"https://api.github.com/repos/mne-tools/mne-bids/subscribers","subscription_url":"https://api.github.com/repos/mne-tools/mne-bids/subscription","commits_url":"https://api.github.com/repos/mne-tools/mne-bids/commits{/sha}","git_commits_url":"https://api.github.com/repos/mne-tools/mne-bids/git/commits{/sha}","comments_url":"https://api.github.com/repos/mne-tools/mne-bids/comments{/number}","issue_comment_url":"https://api.github.com/repos/mne-tools/mne-bids/issues/comments{/number}","contents_url":"https://api.github.com/repos/mne-tools/mne-bids/contents/{+path}","compare_url":"https://api.github.com/repos/mne-tools/mne-bids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mne-tools/mne-bids/merges","archive_url":"https://api.github.com/repos/mne-tools/mne-bids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mne-tools/mne-bids/downloads","issues_url":"https://api.github.com/repos/mne-tools/mne-bids/issues{/number}","pulls_url":"https://api.github.com/repos/mne-tools/mne-bids/pulls{/number}","milestones_url":"https://api.github.com/repos/mne-tools/mne-bids/milestones{/number}","notifications_url":"https://api.github.com/repos/mne-tools/mne-bids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mne-tools/mne-bids/labels{/name}","releases_url":"https://api.github.com/repos/mne-tools/mne-bids/releases{/id}","deployments_url":"https://api.github.com/repos/mne-tools/mne-bids/deployments","created_at":"2017-04-23T20:28:12Z","updated_at":"2018-10-17T06:45:42Z","pushed_at":"2018-10-18T19:41:08Z","git_url":"git://github.com/mne-tools/mne-bids.git","ssh_url":"git@github.com:mne-tools/mne-bids.git","clone_url":"https://github.com/mne-tools/mne-bids.git","svn_url":"https://github.com/mne-tools/mne-bids","homepage":"http://mne-tools.github.io/mne-bids/","size":1705,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":11,"open_issues":22,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99"},"html":{"href":"https://github.com/mne-tools/mne-bids/pull/99"},"issue":{"href":"https://api.github.com/repos/mne-tools/mne-bids/issues/99"},"comments":{"href":"https://api.github.com/repos/mne-tools/mne-bids/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mne-tools/mne-bids/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/mne-tools/mne-bids/statuses/c2ac15e4555761ae8771af9884aaf9484404c551"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"monkeyman192"}}