{"action":"created","comment":{"url":"https://api.github.com/repos/parklab/refinery-platform/pulls/comments/71527899","id":71527899,"diff_hunk":"@@ -214,6 +214,11 @@ def duplicate_slug_check(self):\n     def clean(self):\n         # Check if model being saved/altered in Django Admin has a slug\n         # duplicated elsewhere.\n+\n+        # Removes trailing/leading white spaces","path":"refinery/core/models.py","position":5,"original_position":5,"commit_id":"0b8d88c1cda37f21cc333fcf03ea7e817c330b74","original_commit_id":"0b8d88c1cda37f21cc333fcf03ea7e817c330b74","user":{"login":"drj11","id":1215412,"avatar_url":"https://avatars.githubusercontent.com/u/1215412?v=3","gravatar_id":"","url":"https://api.github.com/users/drj11","html_url":"https://github.com/drj11","followers_url":"https://api.github.com/users/drj11/followers","following_url":"https://api.github.com/users/drj11/following{/other_user}","gists_url":"https://api.github.com/users/drj11/gists{/gist_id}","starred_url":"https://api.github.com/users/drj11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drj11/subscriptions","organizations_url":"https://api.github.com/users/drj11/orgs","repos_url":"https://api.github.com/users/drj11/repos","events_url":"https://api.github.com/users/drj11/events{/privacy}","received_events_url":"https://api.github.com/users/drj11/received_events","type":"User","site_admin":false},"body":"i would start the method with\r\n\r\n    if not self.slug:\r\n        return\r\n\r\nthen avoid the `if self.slug` later","created_at":"2016-07-20T13:52:48Z","updated_at":"2016-07-20T13:52:48Z","html_url":"https://github.com/parklab/refinery-platform/pull/1256#discussion_r71527899","pull_request_url":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256","_links":{"self":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/comments/71527899"},"html":{"href":"https://github.com/parklab/refinery-platform/pull/1256#discussion_r71527899"},"pull_request":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256"}}},"pull_request":{"url":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256","id":78048561,"html_url":"https://github.com/parklab/refinery-platform/pull/1256","diff_url":"https://github.com/parklab/refinery-platform/pull/1256.diff","patch_url":"https://github.com/parklab/refinery-platform/pull/1256.patch","issue_url":"https://api.github.com/repos/parklab/refinery-platform/issues/1256","number":1256,"state":"open","locked":false,"title":"Jkmarx/data set name bug","user":{"login":"jkmarx","id":9956764,"avatar_url":"https://avatars.githubusercontent.com/u/9956764?v=3","gravatar_id":"","url":"https://api.github.com/users/jkmarx","html_url":"https://github.com/jkmarx","followers_url":"https://api.github.com/users/jkmarx/followers","following_url":"https://api.github.com/users/jkmarx/following{/other_user}","gists_url":"https://api.github.com/users/jkmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmarx/subscriptions","organizations_url":"https://api.github.com/users/jkmarx/orgs","repos_url":"https://api.github.com/users/jkmarx/repos","events_url":"https://api.github.com/users/jkmarx/events{/privacy}","received_events_url":"https://api.github.com/users/jkmarx/received_events","type":"User","site_admin":false},"body":"Resolves #1255 and resolves #1242 \r\nAlso added conditional to model method to avoid leading/trailing white spaces in slug.","created_at":"2016-07-19T21:02:49Z","updated_at":"2016-07-20T13:52:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a93c3b72a54a67ea8139a1cc87dbef6b69aba8ad","assignee":{"login":"scottx611x","id":5629547,"avatar_url":"https://avatars.githubusercontent.com/u/5629547?v=3","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},"assignees":[{"login":"scottx611x","id":5629547,"avatar_url":"https://avatars.githubusercontent.com/u/5629547?v=3","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}],"milestone":{"url":"https://api.github.com/repos/parklab/refinery-platform/milestones/36","html_url":"https://github.com/parklab/refinery-platform/milestones/Acton","labels_url":"https://api.github.com/repos/parklab/refinery-platform/milestones/36/labels","id":1878412,"number":36,"title":"Acton","description":"","creator":{"login":"jkmarx","id":9956764,"avatar_url":"https://avatars.githubusercontent.com/u/9956764?v=3","gravatar_id":"","url":"https://api.github.com/users/jkmarx","html_url":"https://github.com/jkmarx","followers_url":"https://api.github.com/users/jkmarx/followers","following_url":"https://api.github.com/users/jkmarx/following{/other_user}","gists_url":"https://api.github.com/users/jkmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmarx/subscriptions","organizations_url":"https://api.github.com/users/jkmarx/orgs","repos_url":"https://api.github.com/users/jkmarx/repos","events_url":"https://api.github.com/users/jkmarx/events{/privacy}","received_events_url":"https://api.github.com/users/jkmarx/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":6,"state":"open","created_at":"2016-07-12T13:20:43Z","updated_at":"2016-07-20T03:16:08Z","due_on":"2016-07-26T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256/commits","review_comments_url":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256/comments","review_comment_url":"https://api.github.com/repos/parklab/refinery-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parklab/refinery-platform/issues/1256/comments","statuses_url":"https://api.github.com/repos/parklab/refinery-platform/statuses/0b8d88c1cda37f21cc333fcf03ea7e817c330b74","head":{"label":"parklab:jkmarx/data-set-name-bug","ref":"jkmarx/data-set-name-bug","sha":"0b8d88c1cda37f21cc333fcf03ea7e817c330b74","user":{"login":"parklab","id":1216524,"avatar_url":"https://avatars.githubusercontent.com/u/1216524?v=3","gravatar_id":"","url":"https://api.github.com/users/parklab","html_url":"https://github.com/parklab","followers_url":"https://api.github.com/users/parklab/followers","following_url":"https://api.github.com/users/parklab/following{/other_user}","gists_url":"https://api.github.com/users/parklab/gists{/gist_id}","starred_url":"https://api.github.com/users/parklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parklab/subscriptions","organizations_url":"https://api.github.com/users/parklab/orgs","repos_url":"https://api.github.com/users/parklab/repos","events_url":"https://api.github.com/users/parklab/events{/privacy}","received_events_url":"https://api.github.com/users/parklab/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"name":"refinery-platform","full_name":"parklab/refinery-platform","owner":{"login":"parklab","id":1216524,"avatar_url":"https://avatars.githubusercontent.com/u/1216524?v=3","gravatar_id":"","url":"https://api.github.com/users/parklab","html_url":"https://github.com/parklab","followers_url":"https://api.github.com/users/parklab/followers","following_url":"https://api.github.com/users/parklab/following{/other_user}","gists_url":"https://api.github.com/users/parklab/gists{/gist_id}","starred_url":"https://api.github.com/users/parklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parklab/subscriptions","organizations_url":"https://api.github.com/users/parklab/orgs","repos_url":"https://api.github.com/users/parklab/repos","events_url":"https://api.github.com/users/parklab/events{/privacy}","received_events_url":"https://api.github.com/users/parklab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parklab/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/parklab/refinery-platform","forks_url":"https://api.github.com/repos/parklab/refinery-platform/forks","keys_url":"https://api.github.com/repos/parklab/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parklab/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parklab/refinery-platform/teams","hooks_url":"https://api.github.com/repos/parklab/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/parklab/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/parklab/refinery-platform/events","assignees_url":"https://api.github.com/repos/parklab/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/parklab/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/parklab/refinery-platform/tags","blobs_url":"https://api.github.com/repos/parklab/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parklab/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parklab/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/parklab/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parklab/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/parklab/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/parklab/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/parklab/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/parklab/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/parklab/refinery-platform/subscription","commits_url":"https://api.github.com/repos/parklab/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/parklab/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/parklab/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/parklab/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/parklab/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/parklab/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parklab/refinery-platform/merges","archive_url":"https://api.github.com/repos/parklab/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parklab/refinery-platform/downloads","issues_url":"https://api.github.com/repos/parklab/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/parklab/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/parklab/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/parklab/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parklab/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/parklab/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/parklab/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2016-07-15T22:51:17Z","pushed_at":"2016-07-20T13:03:30Z","git_url":"git://github.com/parklab/refinery-platform.git","ssh_url":"git@github.com:parklab/refinery-platform.git","clone_url":"https://github.com/parklab/refinery-platform.git","svn_url":"https://github.com/parklab/refinery-platform","homepage":"http://www.refinery-platform.org","size":50104,"stargazers_count":64,"watchers_count":64,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":248,"forks":8,"open_issues":248,"watchers":64,"default_branch":"develop"}},"base":{"label":"parklab:develop","ref":"develop","sha":"dbe03c70f956df1a5751f7ad2f0482c3787fd5ba","user":{"login":"parklab","id":1216524,"avatar_url":"https://avatars.githubusercontent.com/u/1216524?v=3","gravatar_id":"","url":"https://api.github.com/users/parklab","html_url":"https://github.com/parklab","followers_url":"https://api.github.com/users/parklab/followers","following_url":"https://api.github.com/users/parklab/following{/other_user}","gists_url":"https://api.github.com/users/parklab/gists{/gist_id}","starred_url":"https://api.github.com/users/parklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parklab/subscriptions","organizations_url":"https://api.github.com/users/parklab/orgs","repos_url":"https://api.github.com/users/parklab/repos","events_url":"https://api.github.com/users/parklab/events{/privacy}","received_events_url":"https://api.github.com/users/parklab/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"name":"refinery-platform","full_name":"parklab/refinery-platform","owner":{"login":"parklab","id":1216524,"avatar_url":"https://avatars.githubusercontent.com/u/1216524?v=3","gravatar_id":"","url":"https://api.github.com/users/parklab","html_url":"https://github.com/parklab","followers_url":"https://api.github.com/users/parklab/followers","following_url":"https://api.github.com/users/parklab/following{/other_user}","gists_url":"https://api.github.com/users/parklab/gists{/gist_id}","starred_url":"https://api.github.com/users/parklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parklab/subscriptions","organizations_url":"https://api.github.com/users/parklab/orgs","repos_url":"https://api.github.com/users/parklab/repos","events_url":"https://api.github.com/users/parklab/events{/privacy}","received_events_url":"https://api.github.com/users/parklab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parklab/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/parklab/refinery-platform","forks_url":"https://api.github.com/repos/parklab/refinery-platform/forks","keys_url":"https://api.github.com/repos/parklab/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parklab/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parklab/refinery-platform/teams","hooks_url":"https://api.github.com/repos/parklab/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/parklab/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/parklab/refinery-platform/events","assignees_url":"https://api.github.com/repos/parklab/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/parklab/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/parklab/refinery-platform/tags","blobs_url":"https://api.github.com/repos/parklab/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parklab/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parklab/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/parklab/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parklab/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/parklab/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/parklab/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/parklab/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/parklab/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/parklab/refinery-platform/subscription","commits_url":"https://api.github.com/repos/parklab/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/parklab/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/parklab/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/parklab/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/parklab/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/parklab/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parklab/refinery-platform/merges","archive_url":"https://api.github.com/repos/parklab/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parklab/refinery-platform/downloads","issues_url":"https://api.github.com/repos/parklab/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/parklab/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/parklab/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/parklab/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parklab/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/parklab/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/parklab/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2016-07-15T22:51:17Z","pushed_at":"2016-07-20T13:03:30Z","git_url":"git://github.com/parklab/refinery-platform.git","ssh_url":"git@github.com:parklab/refinery-platform.git","clone_url":"https://github.com/parklab/refinery-platform.git","svn_url":"https://github.com/parklab/refinery-platform","homepage":"http://www.refinery-platform.org","size":50104,"stargazers_count":64,"watchers_count":64,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":248,"forks":8,"open_issues":248,"watchers":64,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256"},"html":{"href":"https://github.com/parklab/refinery-platform/pull/1256"},"issue":{"href":"https://api.github.com/repos/parklab/refinery-platform/issues/1256"},"comments":{"href":"https://api.github.com/repos/parklab/refinery-platform/issues/1256/comments"},"review_comments":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256/comments"},"review_comment":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parklab/refinery-platform/pulls/1256/commits"},"statuses":{"href":"https://api.github.com/repos/parklab/refinery-platform/statuses/0b8d88c1cda37f21cc333fcf03ea7e817c330b74"}}}}
{"actor":{"display_login":"drj11"}}