{"action":"created","comment":{"url":"https://api.github.com/repos/bgruening/galaxytools/pulls/comments/94273138","pull_request_review_id":14803715,"id":94273138,"diff_hunk":"@@ -0,0 +1,57 @@\n+import re\n+import glob\n+import sys\n+\n+cdhitcluster = sys.argv[1]\n+#clusters = sys.argv[2]\n+\n+cluster_seqs_stats_path = \"RESULTS/*.cluster.all\"\n+cluster_seqs_stats_files = glob.glob(cluster_seqs_stats_path)\n+\n+#clusterFiles = clusters.split(',')\n+repSeqRedSeqdict = {}\n+repLine = \"\"\n+count = 0\n+first = False\n+\n+with open(cdhitcluster, 'r+') as f:\n+    lines = f.readlines()\n+    for i in range(0, len(lines)):","path":"tools/GraphClust/CollectResults/addCdhitseqs.py","position":19,"original_position":19,"commit_id":"d9c74eab965b1ee113125c97e2c2464932835068","original_commit_id":"d9c74eab965b1ee113125c97e2c2464932835068","user":{"login":"bgruening","id":469983,"avatar_url":"https://avatars.githubusercontent.com/u/469983?v=3","gravatar_id":"","url":"https://api.github.com/users/bgruening","html_url":"https://github.com/bgruening","followers_url":"https://api.github.com/users/bgruening/followers","following_url":"https://api.github.com/users/bgruening/following{/other_user}","gists_url":"https://api.github.com/users/bgruening/gists{/gist_id}","starred_url":"https://api.github.com/users/bgruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgruening/subscriptions","organizations_url":"https://api.github.com/users/bgruening/orgs","repos_url":"https://api.github.com/users/bgruening/repos","events_url":"https://api.github.com/users/bgruening/events{/privacy}","received_events_url":"https://api.github.com/users/bgruening/received_events","type":"User","site_admin":false},"body":"This is very un-pythonic.\r\nYou usually use:\r\n```\r\nfor i,line in enumerate(lines):\r\n```","created_at":"2016-12-31T12:35:59Z","updated_at":"2016-12-31T12:35:59Z","html_url":"https://github.com/bgruening/galaxytools/pull/485#discussion_r94273138","pull_request_url":"https://api.github.com/repos/bgruening/galaxytools/pulls/485","_links":{"self":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/comments/94273138"},"html":{"href":"https://github.com/bgruening/galaxytools/pull/485#discussion_r94273138"},"pull_request":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/485"}}},"pull_request":{"url":"https://api.github.com/repos/bgruening/galaxytools/pulls/485","id":99803710,"html_url":"https://github.com/bgruening/galaxytools/pull/485","diff_url":"https://github.com/bgruening/galaxytools/pull/485.diff","patch_url":"https://github.com/bgruening/galaxytools/pull/485.patch","issue_url":"https://api.github.com/repos/bgruening/galaxytools/issues/485","number":485,"state":"open","locked":false,"title":"Add CD-HIT plus fix evaluation","user":{"login":"mmiladi","id":6370737,"avatar_url":"https://avatars.githubusercontent.com/u/6370737?v=3","gravatar_id":"","url":"https://api.github.com/users/mmiladi","html_url":"https://github.com/mmiladi","followers_url":"https://api.github.com/users/mmiladi/followers","following_url":"https://api.github.com/users/mmiladi/following{/other_user}","gists_url":"https://api.github.com/users/mmiladi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmiladi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmiladi/subscriptions","organizations_url":"https://api.github.com/users/mmiladi/orgs","repos_url":"https://api.github.com/users/mmiladi/repos","events_url":"https://api.github.com/users/mmiladi/events{/privacy}","received_events_url":"https://api.github.com/users/mmiladi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-31T12:11:07Z","updated_at":"2016-12-31T12:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe074323218ecd794a15251db01813826511c0a5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bgruening/galaxytools/pulls/485/commits","review_comments_url":"https://api.github.com/repos/bgruening/galaxytools/pulls/485/comments","review_comment_url":"https://api.github.com/repos/bgruening/galaxytools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bgruening/galaxytools/issues/485/comments","statuses_url":"https://api.github.com/repos/bgruening/galaxytools/statuses/d9c74eab965b1ee113125c97e2c2464932835068","head":{"label":"mmiladi:graphclust-update","ref":"graphclust-update","sha":"d9c74eab965b1ee113125c97e2c2464932835068","user":{"login":"mmiladi","id":6370737,"avatar_url":"https://avatars.githubusercontent.com/u/6370737?v=3","gravatar_id":"","url":"https://api.github.com/users/mmiladi","html_url":"https://github.com/mmiladi","followers_url":"https://api.github.com/users/mmiladi/followers","following_url":"https://api.github.com/users/mmiladi/following{/other_user}","gists_url":"https://api.github.com/users/mmiladi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmiladi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmiladi/subscriptions","organizations_url":"https://api.github.com/users/mmiladi/orgs","repos_url":"https://api.github.com/users/mmiladi/repos","events_url":"https://api.github.com/users/mmiladi/events{/privacy}","received_events_url":"https://api.github.com/users/mmiladi/received_events","type":"User","site_admin":false},"repo":{"id":77136127,"name":"galaxytools","full_name":"mmiladi/galaxytools","owner":{"login":"mmiladi","id":6370737,"avatar_url":"https://avatars.githubusercontent.com/u/6370737?v=3","gravatar_id":"","url":"https://api.github.com/users/mmiladi","html_url":"https://github.com/mmiladi","followers_url":"https://api.github.com/users/mmiladi/followers","following_url":"https://api.github.com/users/mmiladi/following{/other_user}","gists_url":"https://api.github.com/users/mmiladi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmiladi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmiladi/subscriptions","organizations_url":"https://api.github.com/users/mmiladi/orgs","repos_url":"https://api.github.com/users/mmiladi/repos","events_url":"https://api.github.com/users/mmiladi/events{/privacy}","received_events_url":"https://api.github.com/users/mmiladi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmiladi/galaxytools","description":":microscope::books: Galaxy Tool wrappers","fork":true,"url":"https://api.github.com/repos/mmiladi/galaxytools","forks_url":"https://api.github.com/repos/mmiladi/galaxytools/forks","keys_url":"https://api.github.com/repos/mmiladi/galaxytools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmiladi/galaxytools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmiladi/galaxytools/teams","hooks_url":"https://api.github.com/repos/mmiladi/galaxytools/hooks","issue_events_url":"https://api.github.com/repos/mmiladi/galaxytools/issues/events{/number}","events_url":"https://api.github.com/repos/mmiladi/galaxytools/events","assignees_url":"https://api.github.com/repos/mmiladi/galaxytools/assignees{/user}","branches_url":"https://api.github.com/repos/mmiladi/galaxytools/branches{/branch}","tags_url":"https://api.github.com/repos/mmiladi/galaxytools/tags","blobs_url":"https://api.github.com/repos/mmiladi/galaxytools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmiladi/galaxytools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmiladi/galaxytools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmiladi/galaxytools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmiladi/galaxytools/statuses/{sha}","languages_url":"https://api.github.com/repos/mmiladi/galaxytools/languages","stargazers_url":"https://api.github.com/repos/mmiladi/galaxytools/stargazers","contributors_url":"https://api.github.com/repos/mmiladi/galaxytools/contributors","subscribers_url":"https://api.github.com/repos/mmiladi/galaxytools/subscribers","subscription_url":"https://api.github.com/repos/mmiladi/galaxytools/subscription","commits_url":"https://api.github.com/repos/mmiladi/galaxytools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmiladi/galaxytools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmiladi/galaxytools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmiladi/galaxytools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmiladi/galaxytools/contents/{+path}","compare_url":"https://api.github.com/repos/mmiladi/galaxytools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmiladi/galaxytools/merges","archive_url":"https://api.github.com/repos/mmiladi/galaxytools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmiladi/galaxytools/downloads","issues_url":"https://api.github.com/repos/mmiladi/galaxytools/issues{/number}","pulls_url":"https://api.github.com/repos/mmiladi/galaxytools/pulls{/number}","milestones_url":"https://api.github.com/repos/mmiladi/galaxytools/milestones{/number}","notifications_url":"https://api.github.com/repos/mmiladi/galaxytools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmiladi/galaxytools/labels{/name}","releases_url":"https://api.github.com/repos/mmiladi/galaxytools/releases{/id}","deployments_url":"https://api.github.com/repos/mmiladi/galaxytools/deployments","created_at":"2016-12-22T10:36:24Z","updated_at":"2016-12-22T10:36:29Z","pushed_at":"2016-12-31T10:15:17Z","git_url":"git://github.com/mmiladi/galaxytools.git","ssh_url":"git@github.com:mmiladi/galaxytools.git","clone_url":"https://github.com/mmiladi/galaxytools.git","svn_url":"https://github.com/mmiladi/galaxytools","homepage":"","size":242820,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"bgruening:master","ref":"master","sha":"1d1d9aac8cb96d043be07f2e4059baa3b05c2afc","user":{"login":"bgruening","id":469983,"avatar_url":"https://avatars.githubusercontent.com/u/469983?v=3","gravatar_id":"","url":"https://api.github.com/users/bgruening","html_url":"https://github.com/bgruening","followers_url":"https://api.github.com/users/bgruening/followers","following_url":"https://api.github.com/users/bgruening/following{/other_user}","gists_url":"https://api.github.com/users/bgruening/gists{/gist_id}","starred_url":"https://api.github.com/users/bgruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgruening/subscriptions","organizations_url":"https://api.github.com/users/bgruening/orgs","repos_url":"https://api.github.com/users/bgruening/repos","events_url":"https://api.github.com/users/bgruening/events{/privacy}","received_events_url":"https://api.github.com/users/bgruening/received_events","type":"User","site_admin":false},"repo":{"id":6942323,"name":"galaxytools","full_name":"bgruening/galaxytools","owner":{"login":"bgruening","id":469983,"avatar_url":"https://avatars.githubusercontent.com/u/469983?v=3","gravatar_id":"","url":"https://api.github.com/users/bgruening","html_url":"https://github.com/bgruening","followers_url":"https://api.github.com/users/bgruening/followers","following_url":"https://api.github.com/users/bgruening/following{/other_user}","gists_url":"https://api.github.com/users/bgruening/gists{/gist_id}","starred_url":"https://api.github.com/users/bgruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgruening/subscriptions","organizations_url":"https://api.github.com/users/bgruening/orgs","repos_url":"https://api.github.com/users/bgruening/repos","events_url":"https://api.github.com/users/bgruening/events{/privacy}","received_events_url":"https://api.github.com/users/bgruening/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bgruening/galaxytools","description":":microscope::books: Galaxy Tool wrappers","fork":false,"url":"https://api.github.com/repos/bgruening/galaxytools","forks_url":"https://api.github.com/repos/bgruening/galaxytools/forks","keys_url":"https://api.github.com/repos/bgruening/galaxytools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bgruening/galaxytools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bgruening/galaxytools/teams","hooks_url":"https://api.github.com/repos/bgruening/galaxytools/hooks","issue_events_url":"https://api.github.com/repos/bgruening/galaxytools/issues/events{/number}","events_url":"https://api.github.com/repos/bgruening/galaxytools/events","assignees_url":"https://api.github.com/repos/bgruening/galaxytools/assignees{/user}","branches_url":"https://api.github.com/repos/bgruening/galaxytools/branches{/branch}","tags_url":"https://api.github.com/repos/bgruening/galaxytools/tags","blobs_url":"https://api.github.com/repos/bgruening/galaxytools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bgruening/galaxytools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bgruening/galaxytools/git/refs{/sha}","trees_url":"https://api.github.com/repos/bgruening/galaxytools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bgruening/galaxytools/statuses/{sha}","languages_url":"https://api.github.com/repos/bgruening/galaxytools/languages","stargazers_url":"https://api.github.com/repos/bgruening/galaxytools/stargazers","contributors_url":"https://api.github.com/repos/bgruening/galaxytools/contributors","subscribers_url":"https://api.github.com/repos/bgruening/galaxytools/subscribers","subscription_url":"https://api.github.com/repos/bgruening/galaxytools/subscription","commits_url":"https://api.github.com/repos/bgruening/galaxytools/commits{/sha}","git_commits_url":"https://api.github.com/repos/bgruening/galaxytools/git/commits{/sha}","comments_url":"https://api.github.com/repos/bgruening/galaxytools/comments{/number}","issue_comment_url":"https://api.github.com/repos/bgruening/galaxytools/issues/comments{/number}","contents_url":"https://api.github.com/repos/bgruening/galaxytools/contents/{+path}","compare_url":"https://api.github.com/repos/bgruening/galaxytools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bgruening/galaxytools/merges","archive_url":"https://api.github.com/repos/bgruening/galaxytools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bgruening/galaxytools/downloads","issues_url":"https://api.github.com/repos/bgruening/galaxytools/issues{/number}","pulls_url":"https://api.github.com/repos/bgruening/galaxytools/pulls{/number}","milestones_url":"https://api.github.com/repos/bgruening/galaxytools/milestones{/number}","notifications_url":"https://api.github.com/repos/bgruening/galaxytools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bgruening/galaxytools/labels{/name}","releases_url":"https://api.github.com/repos/bgruening/galaxytools/releases{/id}","deployments_url":"https://api.github.com/repos/bgruening/galaxytools/deployments","created_at":"2012-11-30T16:48:44Z","updated_at":"2016-12-30T08:12:49Z","pushed_at":"2016-12-31T12:11:08Z","git_url":"git://github.com/bgruening/galaxytools.git","ssh_url":"git@github.com:bgruening/galaxytools.git","clone_url":"https://github.com/bgruening/galaxytools.git","svn_url":"https://github.com/bgruening/galaxytools","homepage":"","size":242814,"stargazers_count":51,"watchers_count":51,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":74,"mirror_url":null,"open_issues_count":74,"forks":74,"open_issues":74,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/485"},"html":{"href":"https://github.com/bgruening/galaxytools/pull/485"},"issue":{"href":"https://api.github.com/repos/bgruening/galaxytools/issues/485"},"comments":{"href":"https://api.github.com/repos/bgruening/galaxytools/issues/485/comments"},"review_comments":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/485/comments"},"review_comment":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bgruening/galaxytools/pulls/485/commits"},"statuses":{"href":"https://api.github.com/repos/bgruening/galaxytools/statuses/d9c74eab965b1ee113125c97e2c2464932835068"}}}}
{"actor":{"display_login":"bgruening"}}