{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/comments/102324790","pull_request_review_id":23078170,"id":102324790,"diff_hunk":"@@ -364,24 +419,43 @@ def precall(self, task, task_args):\n                 return False\n         return True\n \n-    def _makeSuperTask(self, task_class, args, extra_args):\n-        \"\"\"Make a fully-configured SuperTask instance.\n+    def _makeSuperTask(self, butler=None):\n+        \"\"\"Create new task instance.\n+\n+        Parameters\n+        ----------\n+        butler : optional\n+            Data butler instance passed to task constructor.\n+\n+        Returns\n+        -------\n+        task\n+            Instance of SuperTask.\n+        \"\"\"\n+        if butler is None:\n+            task = self.task_class(config=self.config)\n+        else:\n+            task = self.task_class(config=self.config, butler=butler)\n+        return task\n+\n+    def _reParseArgs(self, args, extra_args):\n+        \"\"\"Parse command line including task-specific options.\n+\n+        .. note:: Currently we do parsing by building new command line as\n+                understood by `pipe.base.ArgumentParser` and using\n+                task-provided parser to parse that command line.\n \n         Parameters\n         ----------\n-        task_class : `type`\n-            Class object for SuperTask.\n         args : `argparse.Namespace`\n-            Parsed command line\n+            Partially-parsed command line","path":"python/lsst/pipe/supertask/cmdLineActivator.py","position":263,"original_position":263,"commit_id":"a0f6c859f8040a18296930555ba4708ce66d3ac7","original_commit_id":"a0f6c859f8040a18296930555ba4708ce66d3ac7","user":{"login":"n8pease","id":13370548,"avatar_url":"https://avatars.githubusercontent.com/u/13370548?v=3","gravatar_id":"","url":"https://api.github.com/users/n8pease","html_url":"https://github.com/n8pease","followers_url":"https://api.github.com/users/n8pease/followers","following_url":"https://api.github.com/users/n8pease/following{/other_user}","gists_url":"https://api.github.com/users/n8pease/gists{/gist_id}","starred_url":"https://api.github.com/users/n8pease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8pease/subscriptions","organizations_url":"https://api.github.com/users/n8pease/orgs","repos_url":"https://api.github.com/users/n8pease/repos","events_url":"https://api.github.com/users/n8pease/events{/privacy}","received_events_url":"https://api.github.com/users/n8pease/received_events","type":"User","site_admin":false},"body":"some explanation of what 'Partially-parsed' means might be useful?","created_at":"2017-02-21T21:39:35Z","updated_at":"2017-02-21T21:39:35Z","html_url":"https://github.com/lsst/pipe_supertask/pull/12#discussion_r102324790","pull_request_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/comments/102324790"},"html":{"href":"https://github.com/lsst/pipe_supertask/pull/12#discussion_r102324790"},"pull_request":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12","id":106622466,"html_url":"https://github.com/lsst/pipe_supertask/pull/12","diff_url":"https://github.com/lsst/pipe_supertask/pull/12.diff","patch_url":"https://github.com/lsst/pipe_supertask/pull/12.patch","issue_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/12","number":12,"state":"open","locked":false,"title":"Ipmlement trivial parallelization of task execution (DM-9329)","user":{"login":"andy-slac","id":4266950,"avatar_url":"https://avatars.githubusercontent.com/u/4266950?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-slac","html_url":"https://github.com/andy-slac","followers_url":"https://api.github.com/users/andy-slac/followers","following_url":"https://api.github.com/users/andy-slac/following{/other_user}","gists_url":"https://api.github.com/users/andy-slac/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-slac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-slac/subscriptions","organizations_url":"https://api.github.com/users/andy-slac/orgs","repos_url":"https://api.github.com/users/andy-slac/repos","events_url":"https://api.github.com/users/andy-slac/events{/privacy}","received_events_url":"https://api.github.com/users/andy-slac/received_events","type":"User","site_admin":false},"body":"This works in exactly the same way as CmdLineTask concurrency by using\r\nmultiprocessing Pool to execute a copy of each task on a separate set\r\nof data IDs.","created_at":"2017-02-16T21:54:05Z","updated_at":"2017-02-21T21:39:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ae32610ecd21c10414fa587aad35573687b0d77","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12/commits","review_comments_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12/comments","review_comment_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/12/comments","statuses_url":"https://api.github.com/repos/lsst/pipe_supertask/statuses/a0f6c859f8040a18296930555ba4708ce66d3ac7","head":{"label":"lsst:tickets/DM-9329","ref":"tickets/DM-9329","sha":"a0f6c859f8040a18296930555ba4708ce66d3ac7","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":53170171,"name":"pipe_supertask","full_name":"lsst/pipe_supertask","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/pipe_supertask","description":"Super Task implementation","fork":false,"url":"https://api.github.com/repos/lsst/pipe_supertask","forks_url":"https://api.github.com/repos/lsst/pipe_supertask/forks","keys_url":"https://api.github.com/repos/lsst/pipe_supertask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/pipe_supertask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/pipe_supertask/teams","hooks_url":"https://api.github.com/repos/lsst/pipe_supertask/hooks","issue_events_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/pipe_supertask/events","assignees_url":"https://api.github.com/repos/lsst/pipe_supertask/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/pipe_supertask/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/pipe_supertask/tags","blobs_url":"https://api.github.com/repos/lsst/pipe_supertask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/pipe_supertask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/pipe_supertask/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/pipe_supertask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/pipe_supertask/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/pipe_supertask/languages","stargazers_url":"https://api.github.com/repos/lsst/pipe_supertask/stargazers","contributors_url":"https://api.github.com/repos/lsst/pipe_supertask/contributors","subscribers_url":"https://api.github.com/repos/lsst/pipe_supertask/subscribers","subscription_url":"https://api.github.com/repos/lsst/pipe_supertask/subscription","commits_url":"https://api.github.com/repos/lsst/pipe_supertask/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/pipe_supertask/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/pipe_supertask/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/pipe_supertask/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/pipe_supertask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/pipe_supertask/merges","archive_url":"https://api.github.com/repos/lsst/pipe_supertask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/pipe_supertask/downloads","issues_url":"https://api.github.com/repos/lsst/pipe_supertask/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/pipe_supertask/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/pipe_supertask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/pipe_supertask/labels{/name}","releases_url":"https://api.github.com/repos/lsst/pipe_supertask/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/pipe_supertask/deployments","created_at":"2016-03-04T22:40:30Z","updated_at":"2016-03-07T15:14:04Z","pushed_at":"2017-02-16T21:54:06Z","git_url":"git://github.com/lsst/pipe_supertask.git","ssh_url":"git@github.com:lsst/pipe_supertask.git","clone_url":"https://github.com/lsst/pipe_supertask.git","svn_url":"https://github.com/lsst/pipe_supertask","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"5d6a6e5c3468f4032d7c45346685a6b9f16ac21f","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":53170171,"name":"pipe_supertask","full_name":"lsst/pipe_supertask","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/pipe_supertask","description":"Super Task implementation","fork":false,"url":"https://api.github.com/repos/lsst/pipe_supertask","forks_url":"https://api.github.com/repos/lsst/pipe_supertask/forks","keys_url":"https://api.github.com/repos/lsst/pipe_supertask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/pipe_supertask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/pipe_supertask/teams","hooks_url":"https://api.github.com/repos/lsst/pipe_supertask/hooks","issue_events_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/pipe_supertask/events","assignees_url":"https://api.github.com/repos/lsst/pipe_supertask/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/pipe_supertask/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/pipe_supertask/tags","blobs_url":"https://api.github.com/repos/lsst/pipe_supertask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/pipe_supertask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/pipe_supertask/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/pipe_supertask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/pipe_supertask/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/pipe_supertask/languages","stargazers_url":"https://api.github.com/repos/lsst/pipe_supertask/stargazers","contributors_url":"https://api.github.com/repos/lsst/pipe_supertask/contributors","subscribers_url":"https://api.github.com/repos/lsst/pipe_supertask/subscribers","subscription_url":"https://api.github.com/repos/lsst/pipe_supertask/subscription","commits_url":"https://api.github.com/repos/lsst/pipe_supertask/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/pipe_supertask/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/pipe_supertask/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/pipe_supertask/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/pipe_supertask/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/pipe_supertask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/pipe_supertask/merges","archive_url":"https://api.github.com/repos/lsst/pipe_supertask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/pipe_supertask/downloads","issues_url":"https://api.github.com/repos/lsst/pipe_supertask/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/pipe_supertask/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/pipe_supertask/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/pipe_supertask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/pipe_supertask/labels{/name}","releases_url":"https://api.github.com/repos/lsst/pipe_supertask/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/pipe_supertask/deployments","created_at":"2016-03-04T22:40:30Z","updated_at":"2016-03-07T15:14:04Z","pushed_at":"2017-02-16T21:54:06Z","git_url":"git://github.com/lsst/pipe_supertask.git","ssh_url":"git@github.com:lsst/pipe_supertask.git","clone_url":"https://github.com/lsst/pipe_supertask.git","svn_url":"https://github.com/lsst/pipe_supertask","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12"},"html":{"href":"https://github.com/lsst/pipe_supertask/pull/12"},"issue":{"href":"https://api.github.com/repos/lsst/pipe_supertask/issues/12"},"comments":{"href":"https://api.github.com/repos/lsst/pipe_supertask/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/pipe_supertask/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/pipe_supertask/statuses/a0f6c859f8040a18296930555ba4708ce66d3ac7"}}}}
{"actor":{"display_login":"n8pease"}}