{"action":"created","comment":{"url":"https://api.github.com/repos/sunpy/sunpy/pulls/comments/37823293","id":37823293,"diff_hunk":"@@ -156,7 +166,12 @@ def show_colormaps():\n     ----------\n \n     \"\"\"\n-    maps = sorted(cmlist)\n+\n+    if mission:\n+        maps =  sorted({k:v for (k,v) in cmlist.iteritems() if k.count(mission)})\n+    else:","path":"sunpy/cm/cm.py","position":44,"original_position":44,"commit_id":"d5f5ab2734bf31f8ecce1075199697659d3a6100","original_commit_id":"d5f5ab2734bf31f8ecce1075199697659d3a6100","user":{"login":"wafels","id":983575,"avatar_url":"https://avatars.githubusercontent.com/u/983575?v=3","gravatar_id":"","url":"https://api.github.com/users/wafels","html_url":"https://github.com/wafels","followers_url":"https://api.github.com/users/wafels/followers","following_url":"https://api.github.com/users/wafels/following{/other_user}","gists_url":"https://api.github.com/users/wafels/gists{/gist_id}","starred_url":"https://api.github.com/users/wafels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wafels/subscriptions","organizations_url":"https://api.github.com/users/wafels/orgs","repos_url":"https://api.github.com/users/wafels/repos","events_url":"https://api.github.com/users/wafels/events{/privacy}","received_events_url":"https://api.github.com/users/wafels/received_events","type":"User","site_admin":false},"body":"would it be worth returning an error if the search string did not find any entries that satisfied the search?","created_at":"2015-08-25T01:05:29Z","updated_at":"2015-08-25T01:05:29Z","html_url":"https://github.com/sunpy/sunpy/pull/1526#discussion_r37823293","pull_request_url":"https://api.github.com/repos/sunpy/sunpy/pulls/1526","_links":{"self":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/comments/37823293"},"html":{"href":"https://github.com/sunpy/sunpy/pull/1526#discussion_r37823293"},"pull_request":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/1526"}}},"pull_request":{"url":"https://api.github.com/repos/sunpy/sunpy/pulls/1526","id":42034048,"html_url":"https://github.com/sunpy/sunpy/pull/1526","diff_url":"https://github.com/sunpy/sunpy/pull/1526.diff","patch_url":"https://github.com/sunpy/sunpy/pull/1526.patch","issue_url":"https://api.github.com/repos/sunpy/sunpy/issues/1526","number":1526,"state":"open","locked":false,"title":"IRIS SJI colortables","user":{"login":"ehsteve","id":739053,"avatar_url":"https://avatars.githubusercontent.com/u/739053?v=3","gravatar_id":"","url":"https://api.github.com/users/ehsteve","html_url":"https://github.com/ehsteve","followers_url":"https://api.github.com/users/ehsteve/followers","following_url":"https://api.github.com/users/ehsteve/following{/other_user}","gists_url":"https://api.github.com/users/ehsteve/gists{/gist_id}","starred_url":"https://api.github.com/users/ehsteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehsteve/subscriptions","organizations_url":"https://api.github.com/users/ehsteve/orgs","repos_url":"https://api.github.com/users/ehsteve/repos","events_url":"https://api.github.com/users/ehsteve/events{/privacy}","received_events_url":"https://api.github.com/users/ehsteve/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-10T15:42:31Z","updated_at":"2015-08-25T01:05:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92444284eda133a2a4caa2bd7356fbe0a3e82639","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sunpy/sunpy/pulls/1526/commits","review_comments_url":"https://api.github.com/repos/sunpy/sunpy/pulls/1526/comments","review_comment_url":"https://api.github.com/repos/sunpy/sunpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sunpy/sunpy/issues/1526/comments","statuses_url":"https://api.github.com/repos/sunpy/sunpy/statuses/d5f5ab2734bf31f8ecce1075199697659d3a6100","head":{"label":"ehsteve:iris_colortable","ref":"iris_colortable","sha":"d5f5ab2734bf31f8ecce1075199697659d3a6100","user":{"login":"ehsteve","id":739053,"avatar_url":"https://avatars.githubusercontent.com/u/739053?v=3","gravatar_id":"","url":"https://api.github.com/users/ehsteve","html_url":"https://github.com/ehsteve","followers_url":"https://api.github.com/users/ehsteve/followers","following_url":"https://api.github.com/users/ehsteve/following{/other_user}","gists_url":"https://api.github.com/users/ehsteve/gists{/gist_id}","starred_url":"https://api.github.com/users/ehsteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehsteve/subscriptions","organizations_url":"https://api.github.com/users/ehsteve/orgs","repos_url":"https://api.github.com/users/ehsteve/repos","events_url":"https://api.github.com/users/ehsteve/events{/privacy}","received_events_url":"https://api.github.com/users/ehsteve/received_events","type":"User","site_admin":false},"repo":{"id":6290122,"name":"sunpy","full_name":"ehsteve/sunpy","owner":{"login":"ehsteve","id":739053,"avatar_url":"https://avatars.githubusercontent.com/u/739053?v=3","gravatar_id":"","url":"https://api.github.com/users/ehsteve","html_url":"https://github.com/ehsteve","followers_url":"https://api.github.com/users/ehsteve/followers","following_url":"https://api.github.com/users/ehsteve/following{/other_user}","gists_url":"https://api.github.com/users/ehsteve/gists{/gist_id}","starred_url":"https://api.github.com/users/ehsteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehsteve/subscriptions","organizations_url":"https://api.github.com/users/ehsteve/orgs","repos_url":"https://api.github.com/users/ehsteve/repos","events_url":"https://api.github.com/users/ehsteve/events{/privacy}","received_events_url":"https://api.github.com/users/ehsteve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehsteve/sunpy","description":"SunPy - Python for solar physics","fork":true,"url":"https://api.github.com/repos/ehsteve/sunpy","forks_url":"https://api.github.com/repos/ehsteve/sunpy/forks","keys_url":"https://api.github.com/repos/ehsteve/sunpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehsteve/sunpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehsteve/sunpy/teams","hooks_url":"https://api.github.com/repos/ehsteve/sunpy/hooks","issue_events_url":"https://api.github.com/repos/ehsteve/sunpy/issues/events{/number}","events_url":"https://api.github.com/repos/ehsteve/sunpy/events","assignees_url":"https://api.github.com/repos/ehsteve/sunpy/assignees{/user}","branches_url":"https://api.github.com/repos/ehsteve/sunpy/branches{/branch}","tags_url":"https://api.github.com/repos/ehsteve/sunpy/tags","blobs_url":"https://api.github.com/repos/ehsteve/sunpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehsteve/sunpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehsteve/sunpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehsteve/sunpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehsteve/sunpy/statuses/{sha}","languages_url":"https://api.github.com/repos/ehsteve/sunpy/languages","stargazers_url":"https://api.github.com/repos/ehsteve/sunpy/stargazers","contributors_url":"https://api.github.com/repos/ehsteve/sunpy/contributors","subscribers_url":"https://api.github.com/repos/ehsteve/sunpy/subscribers","subscription_url":"https://api.github.com/repos/ehsteve/sunpy/subscription","commits_url":"https://api.github.com/repos/ehsteve/sunpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehsteve/sunpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehsteve/sunpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehsteve/sunpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehsteve/sunpy/contents/{+path}","compare_url":"https://api.github.com/repos/ehsteve/sunpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehsteve/sunpy/merges","archive_url":"https://api.github.com/repos/ehsteve/sunpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehsteve/sunpy/downloads","issues_url":"https://api.github.com/repos/ehsteve/sunpy/issues{/number}","pulls_url":"https://api.github.com/repos/ehsteve/sunpy/pulls{/number}","milestones_url":"https://api.github.com/repos/ehsteve/sunpy/milestones{/number}","notifications_url":"https://api.github.com/repos/ehsteve/sunpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehsteve/sunpy/labels{/name}","releases_url":"https://api.github.com/repos/ehsteve/sunpy/releases{/id}","created_at":"2012-10-19T05:11:31Z","updated_at":"2015-05-06T20:46:29Z","pushed_at":"2015-08-24T20:23:33Z","git_url":"git://github.com/ehsteve/sunpy.git","ssh_url":"git@github.com:ehsteve/sunpy.git","clone_url":"https://github.com/ehsteve/sunpy.git","svn_url":"https://github.com/ehsteve/sunpy","homepage":"http://www.sunpy.org","size":37068,"stargazers_count":1,"watchers_count":1,"language":"Python","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":1,"default_branch":"master"}},"base":{"label":"sunpy:master","ref":"master","sha":"86833601c194d49c7cfa23d095033fdd94dd3898","user":{"login":"sunpy","id":963197,"avatar_url":"https://avatars.githubusercontent.com/u/963197?v=3","gravatar_id":"","url":"https://api.github.com/users/sunpy","html_url":"https://github.com/sunpy","followers_url":"https://api.github.com/users/sunpy/followers","following_url":"https://api.github.com/users/sunpy/following{/other_user}","gists_url":"https://api.github.com/users/sunpy/gists{/gist_id}","starred_url":"https://api.github.com/users/sunpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunpy/subscriptions","organizations_url":"https://api.github.com/users/sunpy/orgs","repos_url":"https://api.github.com/users/sunpy/repos","events_url":"https://api.github.com/users/sunpy/events{/privacy}","received_events_url":"https://api.github.com/users/sunpy/received_events","type":"Organization","site_admin":false},"repo":{"id":2165383,"name":"sunpy","full_name":"sunpy/sunpy","owner":{"login":"sunpy","id":963197,"avatar_url":"https://avatars.githubusercontent.com/u/963197?v=3","gravatar_id":"","url":"https://api.github.com/users/sunpy","html_url":"https://github.com/sunpy","followers_url":"https://api.github.com/users/sunpy/followers","following_url":"https://api.github.com/users/sunpy/following{/other_user}","gists_url":"https://api.github.com/users/sunpy/gists{/gist_id}","starred_url":"https://api.github.com/users/sunpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunpy/subscriptions","organizations_url":"https://api.github.com/users/sunpy/orgs","repos_url":"https://api.github.com/users/sunpy/repos","events_url":"https://api.github.com/users/sunpy/events{/privacy}","received_events_url":"https://api.github.com/users/sunpy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sunpy/sunpy","description":"SunPy - Python for solar physics","fork":false,"url":"https://api.github.com/repos/sunpy/sunpy","forks_url":"https://api.github.com/repos/sunpy/sunpy/forks","keys_url":"https://api.github.com/repos/sunpy/sunpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunpy/sunpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunpy/sunpy/teams","hooks_url":"https://api.github.com/repos/sunpy/sunpy/hooks","issue_events_url":"https://api.github.com/repos/sunpy/sunpy/issues/events{/number}","events_url":"https://api.github.com/repos/sunpy/sunpy/events","assignees_url":"https://api.github.com/repos/sunpy/sunpy/assignees{/user}","branches_url":"https://api.github.com/repos/sunpy/sunpy/branches{/branch}","tags_url":"https://api.github.com/repos/sunpy/sunpy/tags","blobs_url":"https://api.github.com/repos/sunpy/sunpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunpy/sunpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunpy/sunpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunpy/sunpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunpy/sunpy/statuses/{sha}","languages_url":"https://api.github.com/repos/sunpy/sunpy/languages","stargazers_url":"https://api.github.com/repos/sunpy/sunpy/stargazers","contributors_url":"https://api.github.com/repos/sunpy/sunpy/contributors","subscribers_url":"https://api.github.com/repos/sunpy/sunpy/subscribers","subscription_url":"https://api.github.com/repos/sunpy/sunpy/subscription","commits_url":"https://api.github.com/repos/sunpy/sunpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunpy/sunpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunpy/sunpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunpy/sunpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunpy/sunpy/contents/{+path}","compare_url":"https://api.github.com/repos/sunpy/sunpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunpy/sunpy/merges","archive_url":"https://api.github.com/repos/sunpy/sunpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunpy/sunpy/downloads","issues_url":"https://api.github.com/repos/sunpy/sunpy/issues{/number}","pulls_url":"https://api.github.com/repos/sunpy/sunpy/pulls{/number}","milestones_url":"https://api.github.com/repos/sunpy/sunpy/milestones{/number}","notifications_url":"https://api.github.com/repos/sunpy/sunpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunpy/sunpy/labels{/name}","releases_url":"https://api.github.com/repos/sunpy/sunpy/releases{/id}","created_at":"2011-08-06T15:34:08Z","updated_at":"2015-08-19T20:22:35Z","pushed_at":"2015-08-24T20:23:35Z","git_url":"git://github.com/sunpy/sunpy.git","ssh_url":"git@github.com:sunpy/sunpy.git","clone_url":"https://github.com/sunpy/sunpy.git","svn_url":"https://github.com/sunpy/sunpy","homepage":"http://www.sunpy.org","size":145902,"stargazers_count":194,"watchers_count":194,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"open_issues_count":218,"forks":129,"open_issues":218,"watchers":194,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/1526"},"html":{"href":"https://github.com/sunpy/sunpy/pull/1526"},"issue":{"href":"https://api.github.com/repos/sunpy/sunpy/issues/1526"},"comments":{"href":"https://api.github.com/repos/sunpy/sunpy/issues/1526/comments"},"review_comments":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/1526/comments"},"review_comment":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sunpy/sunpy/pulls/1526/commits"},"statuses":{"href":"https://api.github.com/repos/sunpy/sunpy/statuses/d5f5ab2734bf31f8ecce1075199697659d3a6100"}}}}