{"action":"created","comment":{"url":"https://api.github.com/repos/poldracklab/fitlins/pulls/comments/189632050","pull_request_review_id":121849130,"id":189632050,"diff_hunk":"@@ -135,9 +135,7 @@ def create_workflow(opts):\n     deriv_dir = op.join(output_dir, 'fitlins')\n     os.makedirs(deriv_dir, exist_ok=True)","path":"fitlins/cli/run.py","position":2,"original_position":2,"commit_id":"85fc05576486954e9af2e143d4dc1c8982d232c6","original_commit_id":"85fc05576486954e9af2e143d4dc1c8982d232c6","user":{"login":"adelavega","id":2774448,"avatar_url":"https://avatars0.githubusercontent.com/u/2774448?v=4","gravatar_id":"","url":"https://api.github.com/users/adelavega","html_url":"https://github.com/adelavega","followers_url":"https://api.github.com/users/adelavega/followers","following_url":"https://api.github.com/users/adelavega/following{/other_user}","gists_url":"https://api.github.com/users/adelavega/gists{/gist_id}","starred_url":"https://api.github.com/users/adelavega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelavega/subscriptions","organizations_url":"https://api.github.com/users/adelavega/orgs","repos_url":"https://api.github.com/users/adelavega/repos","events_url":"https://api.github.com/users/adelavega/events{/privacy}","received_events_url":"https://api.github.com/users/adelavega/received_events","type":"User","site_admin":false},"body":"If you think in the future there may be other files you might want to instantiate in the folder, you could call the function something like `create_derivative_template` or something","created_at":"2018-05-21T15:54:13Z","updated_at":"2018-05-21T15:54:14Z","html_url":"https://github.com/poldracklab/fitlins/pull/29#discussion_r189632050","pull_request_url":"https://api.github.com/repos/poldracklab/fitlins/pulls/29","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/comments/189632050"},"html":{"href":"https://github.com/poldracklab/fitlins/pull/29#discussion_r189632050"},"pull_request":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/29"}},"in_reply_to_id":189627770},"pull_request":{"url":"https://api.github.com/repos/poldracklab/fitlins/pulls/29","id":187463565,"html_url":"https://github.com/poldracklab/fitlins/pull/29","diff_url":"https://github.com/poldracklab/fitlins/pull/29.diff","patch_url":"https://github.com/poldracklab/fitlins/pull/29.patch","issue_url":"https://api.github.com/repos/poldracklab/fitlins/issues/29","number":29,"state":"open","locked":false,"title":"ENH: Make dataset description","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":"Following BEP 003:\r\n\r\n> ## Derived dataset and pipeline description\r\n> `<dataset>/derivatives/<pipeline_name>/dataset_description.json`\r\n> \r\n> Keys:\r\n> * HowToAcknowledge\r\n> * PipelineDescription\r\n>   * Name\r\n>   * Version\r\n>   * CodeURL\r\n>   * DockerHubContainerTag\r\n>   * SingularityContainerURL\r\n>   * SingularityContainerMD5\r\n> * SourceDatasetsURLs - a list of URLs to the source dataset(s) (mandatory)\r\n> * SourceDatasetsVersions - a list of versions of the source dataset(s) (optional only if SourceDatasetsURLs specify the version unequivocally)\r\n> * License\r\n\r\nWe should start adding docker hub tags and singularity URLs as environment variables when we build images. I've put in a stub to get the MD5, which will attempt to pull the `'version'` tag from Singularity Hub.\r\n\r\nBIDS doesn't specify a field for version, which seems like an oversight, but perhaps there's another mechanism for marking it?\r\n\r\nLong-term, it would be good to standardize the construction of this metadata in the BIDS-App spec and pybids.\r\n\r\nRelated to discussion in #28.","created_at":"2018-05-11T13:26:31Z","updated_at":"2018-05-21T15:54:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c91402b0edd468b806965b71235a2da5a889523c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/poldracklab/fitlins/pulls/29/commits","review_comments_url":"https://api.github.com/repos/poldracklab/fitlins/pulls/29/comments","review_comment_url":"https://api.github.com/repos/poldracklab/fitlins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poldracklab/fitlins/issues/29/comments","statuses_url":"https://api.github.com/repos/poldracklab/fitlins/statuses/85fc05576486954e9af2e143d4dc1c8982d232c6","head":{"label":"effigies:enh/description","ref":"enh/description","sha":"85fc05576486954e9af2e143d4dc1c8982d232c6","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},"repo":{"id":123608089,"name":"fitlins","full_name":"effigies/fitlins","owner":{"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},"private":false,"html_url":"https://github.com/effigies/fitlins","description":"Fit Linear models to fMRI","fork":true,"url":"https://api.github.com/repos/effigies/fitlins","forks_url":"https://api.github.com/repos/effigies/fitlins/forks","keys_url":"https://api.github.com/repos/effigies/fitlins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/effigies/fitlins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/effigies/fitlins/teams","hooks_url":"https://api.github.com/repos/effigies/fitlins/hooks","issue_events_url":"https://api.github.com/repos/effigies/fitlins/issues/events{/number}","events_url":"https://api.github.com/repos/effigies/fitlins/events","assignees_url":"https://api.github.com/repos/effigies/fitlins/assignees{/user}","branches_url":"https://api.github.com/repos/effigies/fitlins/branches{/branch}","tags_url":"https://api.github.com/repos/effigies/fitlins/tags","blobs_url":"https://api.github.com/repos/effigies/fitlins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/effigies/fitlins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/effigies/fitlins/git/refs{/sha}","trees_url":"https://api.github.com/repos/effigies/fitlins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/effigies/fitlins/statuses/{sha}","languages_url":"https://api.github.com/repos/effigies/fitlins/languages","stargazers_url":"https://api.github.com/repos/effigies/fitlins/stargazers","contributors_url":"https://api.github.com/repos/effigies/fitlins/contributors","subscribers_url":"https://api.github.com/repos/effigies/fitlins/subscribers","subscription_url":"https://api.github.com/repos/effigies/fitlins/subscription","commits_url":"https://api.github.com/repos/effigies/fitlins/commits{/sha}","git_commits_url":"https://api.github.com/repos/effigies/fitlins/git/commits{/sha}","comments_url":"https://api.github.com/repos/effigies/fitlins/comments{/number}","issue_comment_url":"https://api.github.com/repos/effigies/fitlins/issues/comments{/number}","contents_url":"https://api.github.com/repos/effigies/fitlins/contents/{+path}","compare_url":"https://api.github.com/repos/effigies/fitlins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/effigies/fitlins/merges","archive_url":"https://api.github.com/repos/effigies/fitlins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/effigies/fitlins/downloads","issues_url":"https://api.github.com/repos/effigies/fitlins/issues{/number}","pulls_url":"https://api.github.com/repos/effigies/fitlins/pulls{/number}","milestones_url":"https://api.github.com/repos/effigies/fitlins/milestones{/number}","notifications_url":"https://api.github.com/repos/effigies/fitlins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/effigies/fitlins/labels{/name}","releases_url":"https://api.github.com/repos/effigies/fitlins/releases{/id}","deployments_url":"https://api.github.com/repos/effigies/fitlins/deployments","created_at":"2018-03-02T17:15:22Z","updated_at":"2018-03-02T17:15:24Z","pushed_at":"2018-05-21T14:12:27Z","git_url":"git://github.com/effigies/fitlins.git","ssh_url":"git@github.com:effigies/fitlins.git","clone_url":"https://github.com/effigies/fitlins.git","svn_url":"https://github.com/effigies/fitlins","homepage":"","size":787,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"poldracklab:master","ref":"master","sha":"f301a374f91f7c3745fa22669a49ea16b67a136f","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":108019675,"name":"fitlins","full_name":"poldracklab/fitlins","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/fitlins","description":"Fit Linear Models to BIDS Datasets","fork":false,"url":"https://api.github.com/repos/poldracklab/fitlins","forks_url":"https://api.github.com/repos/poldracklab/fitlins/forks","keys_url":"https://api.github.com/repos/poldracklab/fitlins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poldracklab/fitlins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poldracklab/fitlins/teams","hooks_url":"https://api.github.com/repos/poldracklab/fitlins/hooks","issue_events_url":"https://api.github.com/repos/poldracklab/fitlins/issues/events{/number}","events_url":"https://api.github.com/repos/poldracklab/fitlins/events","assignees_url":"https://api.github.com/repos/poldracklab/fitlins/assignees{/user}","branches_url":"https://api.github.com/repos/poldracklab/fitlins/branches{/branch}","tags_url":"https://api.github.com/repos/poldracklab/fitlins/tags","blobs_url":"https://api.github.com/repos/poldracklab/fitlins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poldracklab/fitlins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poldracklab/fitlins/git/refs{/sha}","trees_url":"https://api.github.com/repos/poldracklab/fitlins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poldracklab/fitlins/statuses/{sha}","languages_url":"https://api.github.com/repos/poldracklab/fitlins/languages","stargazers_url":"https://api.github.com/repos/poldracklab/fitlins/stargazers","contributors_url":"https://api.github.com/repos/poldracklab/fitlins/contributors","subscribers_url":"https://api.github.com/repos/poldracklab/fitlins/subscribers","subscription_url":"https://api.github.com/repos/poldracklab/fitlins/subscription","commits_url":"https://api.github.com/repos/poldracklab/fitlins/commits{/sha}","git_commits_url":"https://api.github.com/repos/poldracklab/fitlins/git/commits{/sha}","comments_url":"https://api.github.com/repos/poldracklab/fitlins/comments{/number}","issue_comment_url":"https://api.github.com/repos/poldracklab/fitlins/issues/comments{/number}","contents_url":"https://api.github.com/repos/poldracklab/fitlins/contents/{+path}","compare_url":"https://api.github.com/repos/poldracklab/fitlins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poldracklab/fitlins/merges","archive_url":"https://api.github.com/repos/poldracklab/fitlins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poldracklab/fitlins/downloads","issues_url":"https://api.github.com/repos/poldracklab/fitlins/issues{/number}","pulls_url":"https://api.github.com/repos/poldracklab/fitlins/pulls{/number}","milestones_url":"https://api.github.com/repos/poldracklab/fitlins/milestones{/number}","notifications_url":"https://api.github.com/repos/poldracklab/fitlins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poldracklab/fitlins/labels{/name}","releases_url":"https://api.github.com/repos/poldracklab/fitlins/releases{/id}","deployments_url":"https://api.github.com/repos/poldracklab/fitlins/deployments","created_at":"2017-10-23T18:05:33Z","updated_at":"2018-05-21T14:07:01Z","pushed_at":"2018-05-21T14:12:28Z","git_url":"git://github.com/poldracklab/fitlins.git","ssh_url":"git@github.com:poldracklab/fitlins.git","clone_url":"https://github.com/poldracklab/fitlins.git","svn_url":"https://github.com/poldracklab/fitlins","homepage":"","size":171,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":11,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/29"},"html":{"href":"https://github.com/poldracklab/fitlins/pull/29"},"issue":{"href":"https://api.github.com/repos/poldracklab/fitlins/issues/29"},"comments":{"href":"https://api.github.com/repos/poldracklab/fitlins/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poldracklab/fitlins/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/poldracklab/fitlins/statuses/85fc05576486954e9af2e143d4dc1c8982d232c6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"adelavega"}}