{"action":"created","comment":{"url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments/129649777","pull_request_review_id":52446171,"id":129649777,"diff_hunk":"@@ -131,6 +132,11 @@ def _pick1st(inlist):\n # Helper functions\n # ------------------------------------------------------\n \n+@due.dcite(\n+    Doi('10.1006/nimg.2001.1054'),\n+    description=\"Conversion of the input phase-difference map into a fieldmap in Hz\",\n+    tags=['edu']\n+)","path":"fmriprep/workflows/fieldmap/phdiff.py","position":16,"original_position":16,"commit_id":"c8f8301180cbaf71b448f9a2030cdc1aea0bafe0","original_commit_id":"c8f8301180cbaf71b448f9a2030cdc1aea0bafe0","user":{"login":"effigies","id":83442,"avatar_url":"https://avatars0.githubusercontent.com/u/83442?v=4","gravatar_id":"","url":"https://api.github.com/users/effigies","html_url":"https://github.com/effigies","followers_url":"https://api.github.com/users/effigies/followers","following_url":"https://api.github.com/users/effigies/following{/other_user}","gists_url":"https://api.github.com/users/effigies/gists{/gist_id}","starred_url":"https://api.github.com/users/effigies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effigies/subscriptions","organizations_url":"https://api.github.com/users/effigies/orgs","repos_url":"https://api.github.com/users/effigies/repos","events_url":"https://api.github.com/users/effigies/events{/privacy}","received_events_url":"https://api.github.com/users/effigies/received_events","type":"User","site_admin":false},"body":"Looks like `Function` doesn't play well with decorated functions. I guess upgrading it to a proper interface would be the easiest solution.","created_at":"2017-07-26T17:59:12Z","updated_at":"2017-07-26T17:59:12Z","html_url":"https://github.com/poldracklab/fmriprep/pull/608#discussion_r129649777","pull_request_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608","_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments/129649777"},"html":{"href":"https://github.com/poldracklab/fmriprep/pull/608#discussion_r129649777"},"pull_request":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608"}}},"pull_request":{"url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608","id":132397617,"html_url":"https://github.com/poldracklab/fmriprep/pull/608","diff_url":"https://github.com/poldracklab/fmriprep/pull/608.diff","patch_url":"https://github.com/poldracklab/fmriprep/pull/608.patch","issue_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/608","number":608,"state":"open","locked":false,"title":"ENH: initial support for duecredit","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"body":"Only partially addresses #600 \r\nThere might be more citations in the code here and probably more to be added within niworkflows .\r\nThis use-case pointed (as I left a note in the code) to the chicken&egg problem.  If DOI to be generated only upon the release, duecredit should support fetching citation directly from zenodo (https://github.com/duecredit/duecredit/issues/117)","created_at":"2017-07-25T22:56:50Z","updated_at":"2017-07-26T17:59:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00b1c22ba0f6edd891231626acd69c50e7d2f4f6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608/commits","review_comments_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608/comments","review_comment_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/608/comments","statuses_url":"https://api.github.com/repos/poldracklab/fmriprep/statuses/c8f8301180cbaf71b448f9a2030cdc1aea0bafe0","head":{"label":"yarikoptic:enh-duecredit","ref":"enh-duecredit","sha":"c8f8301180cbaf71b448f9a2030cdc1aea0bafe0","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"repo":{"id":96801021,"name":"fmriprep","full_name":"yarikoptic/fmriprep","owner":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yarikoptic/fmriprep","description":"fMRIprep is a functional magnetic resonance image pre-processing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to differences in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.","fork":true,"url":"https://api.github.com/repos/yarikoptic/fmriprep","forks_url":"https://api.github.com/repos/yarikoptic/fmriprep/forks","keys_url":"https://api.github.com/repos/yarikoptic/fmriprep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarikoptic/fmriprep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarikoptic/fmriprep/teams","hooks_url":"https://api.github.com/repos/yarikoptic/fmriprep/hooks","issue_events_url":"https://api.github.com/repos/yarikoptic/fmriprep/issues/events{/number}","events_url":"https://api.github.com/repos/yarikoptic/fmriprep/events","assignees_url":"https://api.github.com/repos/yarikoptic/fmriprep/assignees{/user}","branches_url":"https://api.github.com/repos/yarikoptic/fmriprep/branches{/branch}","tags_url":"https://api.github.com/repos/yarikoptic/fmriprep/tags","blobs_url":"https://api.github.com/repos/yarikoptic/fmriprep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarikoptic/fmriprep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarikoptic/fmriprep/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarikoptic/fmriprep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarikoptic/fmriprep/statuses/{sha}","languages_url":"https://api.github.com/repos/yarikoptic/fmriprep/languages","stargazers_url":"https://api.github.com/repos/yarikoptic/fmriprep/stargazers","contributors_url":"https://api.github.com/repos/yarikoptic/fmriprep/contributors","subscribers_url":"https://api.github.com/repos/yarikoptic/fmriprep/subscribers","subscription_url":"https://api.github.com/repos/yarikoptic/fmriprep/subscription","commits_url":"https://api.github.com/repos/yarikoptic/fmriprep/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarikoptic/fmriprep/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarikoptic/fmriprep/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarikoptic/fmriprep/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarikoptic/fmriprep/contents/{+path}","compare_url":"https://api.github.com/repos/yarikoptic/fmriprep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarikoptic/fmriprep/merges","archive_url":"https://api.github.com/repos/yarikoptic/fmriprep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarikoptic/fmriprep/downloads","issues_url":"https://api.github.com/repos/yarikoptic/fmriprep/issues{/number}","pulls_url":"https://api.github.com/repos/yarikoptic/fmriprep/pulls{/number}","milestones_url":"https://api.github.com/repos/yarikoptic/fmriprep/milestones{/number}","notifications_url":"https://api.github.com/repos/yarikoptic/fmriprep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarikoptic/fmriprep/labels{/name}","releases_url":"https://api.github.com/repos/yarikoptic/fmriprep/releases{/id}","deployments_url":"https://api.github.com/repos/yarikoptic/fmriprep/deployments","created_at":"2017-07-10T16:55:34Z","updated_at":"2017-07-10T16:55:35Z","pushed_at":"2017-07-26T15:27:46Z","git_url":"git://github.com/yarikoptic/fmriprep.git","ssh_url":"git@github.com:yarikoptic/fmriprep.git","clone_url":"https://github.com/yarikoptic/fmriprep.git","svn_url":"https://github.com/yarikoptic/fmriprep","homepage":"http://fmriprep.readthedocs.io","size":32937,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"poldracklab:master","ref":"master","sha":"1b9b09569d498b3f44ee244d3b0a2f3d670b295f","user":{"login":"poldracklab","id":9287954,"avatar_url":"https://avatars2.githubusercontent.com/u/9287954?v=4","gravatar_id":"","url":"https://api.github.com/users/poldracklab","html_url":"https://github.com/poldracklab","followers_url":"https://api.github.com/users/poldracklab/followers","following_url":"https://api.github.com/users/poldracklab/following{/other_user}","gists_url":"https://api.github.com/users/poldracklab/gists{/gist_id}","starred_url":"https://api.github.com/users/poldracklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poldracklab/subscriptions","organizations_url":"https://api.github.com/users/poldracklab/orgs","repos_url":"https://api.github.com/users/poldracklab/repos","events_url":"https://api.github.com/users/poldracklab/events{/privacy}","received_events_url":"https://api.github.com/users/poldracklab/received_events","type":"Organization","site_admin":false},"repo":{"id":53175327,"name":"fmriprep","full_name":"poldracklab/fmriprep","owner":{"login":"poldracklab","id":9287954,"avatar_url":"https://avatars2.githubusercontent.com/u/9287954?v=4","gravatar_id":"","url":"https://api.github.com/users/poldracklab","html_url":"https://github.com/poldracklab","followers_url":"https://api.github.com/users/poldracklab/followers","following_url":"https://api.github.com/users/poldracklab/following{/other_user}","gists_url":"https://api.github.com/users/poldracklab/gists{/gist_id}","starred_url":"https://api.github.com/users/poldracklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poldracklab/subscriptions","organizations_url":"https://api.github.com/users/poldracklab/orgs","repos_url":"https://api.github.com/users/poldracklab/repos","events_url":"https://api.github.com/users/poldracklab/events{/privacy}","received_events_url":"https://api.github.com/users/poldracklab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poldracklab/fmriprep","description":"fMRIprep is a functional magnetic resonance image pre-processing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to differences in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.","fork":false,"url":"https://api.github.com/repos/poldracklab/fmriprep","forks_url":"https://api.github.com/repos/poldracklab/fmriprep/forks","keys_url":"https://api.github.com/repos/poldracklab/fmriprep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poldracklab/fmriprep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poldracklab/fmriprep/teams","hooks_url":"https://api.github.com/repos/poldracklab/fmriprep/hooks","issue_events_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/events{/number}","events_url":"https://api.github.com/repos/poldracklab/fmriprep/events","assignees_url":"https://api.github.com/repos/poldracklab/fmriprep/assignees{/user}","branches_url":"https://api.github.com/repos/poldracklab/fmriprep/branches{/branch}","tags_url":"https://api.github.com/repos/poldracklab/fmriprep/tags","blobs_url":"https://api.github.com/repos/poldracklab/fmriprep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poldracklab/fmriprep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poldracklab/fmriprep/git/refs{/sha}","trees_url":"https://api.github.com/repos/poldracklab/fmriprep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poldracklab/fmriprep/statuses/{sha}","languages_url":"https://api.github.com/repos/poldracklab/fmriprep/languages","stargazers_url":"https://api.github.com/repos/poldracklab/fmriprep/stargazers","contributors_url":"https://api.github.com/repos/poldracklab/fmriprep/contributors","subscribers_url":"https://api.github.com/repos/poldracklab/fmriprep/subscribers","subscription_url":"https://api.github.com/repos/poldracklab/fmriprep/subscription","commits_url":"https://api.github.com/repos/poldracklab/fmriprep/commits{/sha}","git_commits_url":"https://api.github.com/repos/poldracklab/fmriprep/git/commits{/sha}","comments_url":"https://api.github.com/repos/poldracklab/fmriprep/comments{/number}","issue_comment_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/comments{/number}","contents_url":"https://api.github.com/repos/poldracklab/fmriprep/contents/{+path}","compare_url":"https://api.github.com/repos/poldracklab/fmriprep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poldracklab/fmriprep/merges","archive_url":"https://api.github.com/repos/poldracklab/fmriprep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poldracklab/fmriprep/downloads","issues_url":"https://api.github.com/repos/poldracklab/fmriprep/issues{/number}","pulls_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls{/number}","milestones_url":"https://api.github.com/repos/poldracklab/fmriprep/milestones{/number}","notifications_url":"https://api.github.com/repos/poldracklab/fmriprep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poldracklab/fmriprep/labels{/name}","releases_url":"https://api.github.com/repos/poldracklab/fmriprep/releases{/id}","deployments_url":"https://api.github.com/repos/poldracklab/fmriprep/deployments","created_at":"2016-03-05T00:56:46Z","updated_at":"2017-07-16T04:21:53Z","pushed_at":"2017-07-26T16:39:19Z","git_url":"git://github.com/poldracklab/fmriprep.git","ssh_url":"git@github.com:poldracklab/fmriprep.git","clone_url":"https://github.com/poldracklab/fmriprep.git","svn_url":"https://github.com/poldracklab/fmriprep","homepage":"http://fmriprep.readthedocs.io","size":32936,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":54,"forks":24,"open_issues":54,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608"},"html":{"href":"https://github.com/poldracklab/fmriprep/pull/608"},"issue":{"href":"https://api.github.com/repos/poldracklab/fmriprep/issues/608"},"comments":{"href":"https://api.github.com/repos/poldracklab/fmriprep/issues/608/comments"},"review_comments":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608/comments"},"review_comment":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/608/commits"},"statuses":{"href":"https://api.github.com/repos/poldracklab/fmriprep/statuses/c8f8301180cbaf71b448f9a2030cdc1aea0bafe0"}}}}
{"actor":{"display_login":"effigies"}}