{"action":"created","comment":{"url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/comments/187689733","pull_request_review_id":119527214,"id":187689733,"diff_hunk":"@@ -5,12 +5,16 @@\n from django.http import HttpResponse\n from django.conf import settings\n from django.core.cache import cache\n+from random import randint\n from uuid import uuid4\n-from os import path, makedirs, chmod, remove\n-from blast.models import BlastQueryRecord, BlastDb\n+from os import path, makedirs, chmod, stat, remove\n+from blast.models import BlastQueryRecord, BlastDb, Sequence, JbrowseSetting, BlastSearch\n from blast.tasks import run_blast_task\n+from sys import platform","path":"blast/views.py","position":11,"original_position":11,"commit_id":"476aa8fc6df19d2c3837cf89131b20b9eb497fe4","original_commit_id":"476aa8fc6df19d2c3837cf89131b20b9eb497fe4","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Unused platform imported from sys](https://app.codacy.com/app/NAL-i5K/genomics-workspace/pullRequest?prid=1637498)","created_at":"2018-05-11T18:02:57Z","updated_at":"2018-05-11T18:02:57Z","html_url":"https://github.com/NAL-i5K/genomics-workspace/pull/140#discussion_r187689733","pull_request_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/comments/187689733"},"html":{"href":"https://github.com/NAL-i5K/genomics-workspace/pull/140#discussion_r187689733"},"pull_request":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140","id":187371412,"html_url":"https://github.com/NAL-i5K/genomics-workspace/pull/140","diff_url":"https://github.com/NAL-i5K/genomics-workspace/pull/140.diff","patch_url":"https://github.com/NAL-i5K/genomics-workspace/pull/140.patch","issue_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/140","number":140,"state":"open","locked":false,"title":"Add back dashboard","user":{"login":"hsiaoyi0504","id":10943928,"avatar_url":"https://avatars3.githubusercontent.com/u/10943928?v=4","gravatar_id":"","url":"https://api.github.com/users/hsiaoyi0504","html_url":"https://github.com/hsiaoyi0504","followers_url":"https://api.github.com/users/hsiaoyi0504/followers","following_url":"https://api.github.com/users/hsiaoyi0504/following{/other_user}","gists_url":"https://api.github.com/users/hsiaoyi0504/gists{/gist_id}","starred_url":"https://api.github.com/users/hsiaoyi0504/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsiaoyi0504/subscriptions","organizations_url":"https://api.github.com/users/hsiaoyi0504/orgs","repos_url":"https://api.github.com/users/hsiaoyi0504/repos","events_url":"https://api.github.com/users/hsiaoyi0504/events{/privacy}","received_events_url":"https://api.github.com/users/hsiaoyi0504/received_events","type":"User","site_admin":false},"body":"Replace #90 after merge #113.","created_at":"2018-05-11T05:35:56Z","updated_at":"2018-05-11T18:02:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a5b30f8762874b2a8a5015b5bfaed6a3462cfc6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":806530234,"url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/labels/Doing","name":"Doing","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140/commits","review_comments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140/comments","review_comment_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/140/comments","statuses_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/statuses/476aa8fc6df19d2c3837cf89131b20b9eb497fe4","head":{"label":"NAL-i5K:add_back_dash","ref":"add_back_dash","sha":"476aa8fc6df19d2c3837cf89131b20b9eb497fe4","user":{"login":"NAL-i5K","id":13661181,"avatar_url":"https://avatars0.githubusercontent.com/u/13661181?v=4","gravatar_id":"","url":"https://api.github.com/users/NAL-i5K","html_url":"https://github.com/NAL-i5K","followers_url":"https://api.github.com/users/NAL-i5K/followers","following_url":"https://api.github.com/users/NAL-i5K/following{/other_user}","gists_url":"https://api.github.com/users/NAL-i5K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAL-i5K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAL-i5K/subscriptions","organizations_url":"https://api.github.com/users/NAL-i5K/orgs","repos_url":"https://api.github.com/users/NAL-i5K/repos","events_url":"https://api.github.com/users/NAL-i5K/events{/privacy}","received_events_url":"https://api.github.com/users/NAL-i5K/received_events","type":"Organization","site_admin":false},"repo":{"id":72758632,"name":"genomics-workspace","full_name":"NAL-i5K/genomics-workspace","owner":{"login":"NAL-i5K","id":13661181,"avatar_url":"https://avatars0.githubusercontent.com/u/13661181?v=4","gravatar_id":"","url":"https://api.github.com/users/NAL-i5K","html_url":"https://github.com/NAL-i5K","followers_url":"https://api.github.com/users/NAL-i5K/followers","following_url":"https://api.github.com/users/NAL-i5K/following{/other_user}","gists_url":"https://api.github.com/users/NAL-i5K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAL-i5K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAL-i5K/subscriptions","organizations_url":"https://api.github.com/users/NAL-i5K/orgs","repos_url":"https://api.github.com/users/NAL-i5K/repos","events_url":"https://api.github.com/users/NAL-i5K/events{/privacy}","received_events_url":"https://api.github.com/users/NAL-i5K/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NAL-i5K/genomics-workspace","description":"Django website project for common sequence search tools.","fork":false,"url":"https://api.github.com/repos/NAL-i5K/genomics-workspace","forks_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/forks","keys_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/teams","hooks_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/hooks","issue_events_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/events{/number}","events_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/events","assignees_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/assignees{/user}","branches_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/branches{/branch}","tags_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/tags","blobs_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/statuses/{sha}","languages_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/languages","stargazers_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/stargazers","contributors_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/contributors","subscribers_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/subscribers","subscription_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/subscription","commits_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/contents/{+path}","compare_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/merges","archive_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/downloads","issues_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues{/number}","pulls_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls{/number}","milestones_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/milestones{/number}","notifications_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/labels{/name}","releases_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/releases{/id}","deployments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/deployments","created_at":"2016-11-03T15:20:11Z","updated_at":"2018-05-09T20:40:52Z","pushed_at":"2018-05-11T17:59:03Z","git_url":"git://github.com/NAL-i5K/genomics-workspace.git","ssh_url":"git@github.com:NAL-i5K/genomics-workspace.git","clone_url":"https://github.com/NAL-i5K/genomics-workspace.git","svn_url":"https://github.com/NAL-i5K/genomics-workspace","homepage":"http://genomics-workspace.readthedocs.io/","size":456457,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"NAL-i5K:master","ref":"master","sha":"5b586526ef38e352d8fc805f0934fd7b2c91638f","user":{"login":"NAL-i5K","id":13661181,"avatar_url":"https://avatars0.githubusercontent.com/u/13661181?v=4","gravatar_id":"","url":"https://api.github.com/users/NAL-i5K","html_url":"https://github.com/NAL-i5K","followers_url":"https://api.github.com/users/NAL-i5K/followers","following_url":"https://api.github.com/users/NAL-i5K/following{/other_user}","gists_url":"https://api.github.com/users/NAL-i5K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAL-i5K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAL-i5K/subscriptions","organizations_url":"https://api.github.com/users/NAL-i5K/orgs","repos_url":"https://api.github.com/users/NAL-i5K/repos","events_url":"https://api.github.com/users/NAL-i5K/events{/privacy}","received_events_url":"https://api.github.com/users/NAL-i5K/received_events","type":"Organization","site_admin":false},"repo":{"id":72758632,"name":"genomics-workspace","full_name":"NAL-i5K/genomics-workspace","owner":{"login":"NAL-i5K","id":13661181,"avatar_url":"https://avatars0.githubusercontent.com/u/13661181?v=4","gravatar_id":"","url":"https://api.github.com/users/NAL-i5K","html_url":"https://github.com/NAL-i5K","followers_url":"https://api.github.com/users/NAL-i5K/followers","following_url":"https://api.github.com/users/NAL-i5K/following{/other_user}","gists_url":"https://api.github.com/users/NAL-i5K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAL-i5K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAL-i5K/subscriptions","organizations_url":"https://api.github.com/users/NAL-i5K/orgs","repos_url":"https://api.github.com/users/NAL-i5K/repos","events_url":"https://api.github.com/users/NAL-i5K/events{/privacy}","received_events_url":"https://api.github.com/users/NAL-i5K/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NAL-i5K/genomics-workspace","description":"Django website project for common sequence search tools.","fork":false,"url":"https://api.github.com/repos/NAL-i5K/genomics-workspace","forks_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/forks","keys_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/teams","hooks_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/hooks","issue_events_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/events{/number}","events_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/events","assignees_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/assignees{/user}","branches_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/branches{/branch}","tags_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/tags","blobs_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/statuses/{sha}","languages_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/languages","stargazers_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/stargazers","contributors_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/contributors","subscribers_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/subscribers","subscription_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/subscription","commits_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/contents/{+path}","compare_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/merges","archive_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/downloads","issues_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues{/number}","pulls_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls{/number}","milestones_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/milestones{/number}","notifications_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/labels{/name}","releases_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/releases{/id}","deployments_url":"https://api.github.com/repos/NAL-i5K/genomics-workspace/deployments","created_at":"2016-11-03T15:20:11Z","updated_at":"2018-05-09T20:40:52Z","pushed_at":"2018-05-11T17:59:03Z","git_url":"git://github.com/NAL-i5K/genomics-workspace.git","ssh_url":"git@github.com:NAL-i5K/genomics-workspace.git","clone_url":"https://github.com/NAL-i5K/genomics-workspace.git","svn_url":"https://github.com/NAL-i5K/genomics-workspace","homepage":"http://genomics-workspace.readthedocs.io/","size":456457,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140"},"html":{"href":"https://github.com/NAL-i5K/genomics-workspace/pull/140"},"issue":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/140"},"comments":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/NAL-i5K/genomics-workspace/statuses/476aa8fc6df19d2c3837cf89131b20b9eb497fe4"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}