{"action":"created","comment":{"url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments/196548650","pull_request_review_id":130123498,"id":196548650,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjU0ODY1MA==","diff_hunk":"@@ -800,6 +777,66 @@ def is_clean(self):\n         \"\"\"\n         return not (self.get_analyses() or self.has_visualizations())\n \n+    def set_title(self, title):\n+        self.title = title\n+        self.save()\n+\n+    def update_with_revised_investigation(self, investigation):\n+        \"\"\"\n+        Update an existing DataSet's Investigation with a new Investigation as\n+        long as some specific constraints are met.\n+        - Said DataSet must be \"clean\" (No Analyses or Visualizations","path":"refinery/core/models.py","position":90,"original_position":90,"commit_id":"194eeac47d8f3a15efb0dcbe4487e1c6c1318fff","original_commit_id":"194eeac47d8f3a15efb0dcbe4487e1c6c1318fff","user":{"login":"scottx611x","id":5629547,"node_id":"MDQ6VXNlcjU2Mjk1NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/5629547?v=4","gravatar_id":"","url":"https://api.github.com/users/scottx611x","html_url":"https://github.com/scottx611x","followers_url":"https://api.github.com/users/scottx611x/followers","following_url":"https://api.github.com/users/scottx611x/following{/other_user}","gists_url":"https://api.github.com/users/scottx611x/gists{/gist_id}","starred_url":"https://api.github.com/users/scottx611x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottx611x/subscriptions","organizations_url":"https://api.github.com/users/scottx611x/orgs","repos_url":"https://api.github.com/users/scottx611x/repos","events_url":"https://api.github.com/users/scottx611x/events{/privacy}","received_events_url":"https://api.github.com/users/scottx611x/received_events","type":"User","site_admin":false},"body":"Update this docstring","created_at":"2018-06-19T19:24:16Z","updated_at":"2018-06-19T19:37:00Z","html_url":"https://github.com/refinery-platform/refinery-platform/pull/2811#discussion_r196548650","pull_request_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments/196548650"},"html":{"href":"https://github.com/refinery-platform/refinery-platform/pull/2811#discussion_r196548650"},"pull_request":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811"}}},"pull_request":{"url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811","id":193706203,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzA2MjAz","html_url":"https://github.com/refinery-platform/refinery-platform/pull/2811","diff_url":"https://github.com/refinery-platform/refinery-platform/pull/2811.diff","patch_url":"https://github.com/refinery-platform/refinery-platform/pull/2811.patch","issue_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2811","number":2811,"state":"open","locked":false,"title":"Scottx611x/metadata revisions","user":{"login":"scottx611x","id":5629547,"node_id":"MDQ6VXNlcjU2Mjk1NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/5629547?v=4","gravatar_id":"","url":"https://api.github.com/users/scottx611x","html_url":"https://github.com/scottx611x","followers_url":"https://api.github.com/users/scottx611x/followers","following_url":"https://api.github.com/users/scottx611x/following{/other_user}","gists_url":"https://api.github.com/users/scottx611x/gists{/gist_id}","starred_url":"https://api.github.com/users/scottx611x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottx611x/subscriptions","organizations_url":"https://api.github.com/users/scottx611x/orgs","repos_url":"https://api.github.com/users/scottx611x/repos","events_url":"https://api.github.com/users/scottx611x/events{/privacy}","received_events_url":"https://api.github.com/users/scottx611x/received_events","type":"User","site_admin":false},"body":"Towards #2700 \r\n\r\nAllows one to edit metadata files (ISATab or Tabular) outside of Refinery, and proceed to update an existing DataSet with revised content (grammatical errors, column and row introductions, etc.) while persisting previously uploaded data files and allowing a User to upload new ones along the way.\r\n\r\nTODOS: \r\n- [x] Make it obvious that a metadata revision is happening on the import pages\r\n- [x] Changes for tabular metadata revisions\r\n- [x] Tests for tabular metadata revisions\r\n- [ ] UI text/button placement changes\r\n- [x] Update \"check datafiles\" functionality\r\n  - [ ] Add this for ISATab import as well???\r\n- [ ] Add tests for `CheckDataFilesView`\r\n- [ ] Add tests for rows being removed in a metadata revision","created_at":"2018-06-08T19:41:42Z","updated_at":"2018-06-19T19:37:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cc7508e026d5102b3ce315360b725806cc1ffdb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811/commits","review_comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811/comments","review_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2811/comments","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/194eeac47d8f3a15efb0dcbe4487e1c6c1318fff","head":{"label":"refinery-platform:scottx611x/metadata_revisions","ref":"scottx611x/metadata_revisions","sha":"194eeac47d8f3a15efb0dcbe4487e1c6c1318fff","user":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"node_id":"MDEwOlJlcG9zaXRvcnkyODM4NzM1","name":"refinery-platform","full_name":"refinery-platform/refinery-platform","owner":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery-platform/refinery-platform","description":"The Refinery Platform is a data management, analysis and visualization system for bioinformatics and computational biology applications. The platforms consists of three major components: a data repository with rich metadata capabilities, a workflow engine based on the popular Galaxy system, and visualization tools to support the exploration and interpretation of results at all stages of the analysis process.","fork":false,"url":"https://api.github.com/repos/refinery-platform/refinery-platform","forks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/forks","keys_url":"https://api.github.com/repos/refinery-platform/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/refinery-platform/teams","hooks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/events","assignees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/tags","blobs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscription","commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/refinery-platform/merges","archive_url":"https://api.github.com/repos/refinery-platform/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/refinery-platform/downloads","issues_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2018-06-19T19:13:26Z","pushed_at":"2018-06-19T19:23:06Z","git_url":"git://github.com/refinery-platform/refinery-platform.git","ssh_url":"git@github.com:refinery-platform/refinery-platform.git","clone_url":"https://github.com/refinery-platform/refinery-platform.git","svn_url":"https://github.com/refinery-platform/refinery-platform","homepage":"http://www.refinery-platform.org","size":77314,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":401,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":401,"watchers":86,"default_branch":"develop"}},"base":{"label":"refinery-platform:develop","ref":"develop","sha":"cf7d887f39740b5b6499463846dd541c177ba0a9","user":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"node_id":"MDEwOlJlcG9zaXRvcnkyODM4NzM1","name":"refinery-platform","full_name":"refinery-platform/refinery-platform","owner":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery-platform/refinery-platform","description":"The Refinery Platform is a data management, analysis and visualization system for bioinformatics and computational biology applications. The platforms consists of three major components: a data repository with rich metadata capabilities, a workflow engine based on the popular Galaxy system, and visualization tools to support the exploration and interpretation of results at all stages of the analysis process.","fork":false,"url":"https://api.github.com/repos/refinery-platform/refinery-platform","forks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/forks","keys_url":"https://api.github.com/repos/refinery-platform/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/refinery-platform/teams","hooks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/events","assignees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/tags","blobs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscription","commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/refinery-platform/merges","archive_url":"https://api.github.com/repos/refinery-platform/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/refinery-platform/downloads","issues_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2018-06-19T19:13:26Z","pushed_at":"2018-06-19T19:23:06Z","git_url":"git://github.com/refinery-platform/refinery-platform.git","ssh_url":"git@github.com:refinery-platform/refinery-platform.git","clone_url":"https://github.com/refinery-platform/refinery-platform.git","svn_url":"https://github.com/refinery-platform/refinery-platform","homepage":"http://www.refinery-platform.org","size":77314,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":401,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":401,"watchers":86,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811"},"html":{"href":"https://github.com/refinery-platform/refinery-platform/pull/2811"},"issue":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2811"},"comments":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2811/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2811/commits"},"statuses":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/194eeac47d8f3a15efb0dcbe4487e1c6c1318fff"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"scottx611x"}}