{"action":"created","comment":{"url":"https://api.github.com/repos/yaxonomic/yax/pulls/comments/60982584","id":60982584,"diff_hunk":"@@ -59,47 +89,43 @@ def _init_first_time(self, pipeline):\n             shutil.rmtree(self.data_dir)\n             raise\n \n-    def _get_default_pipeline(self):\n-        root, _ = os.path.split(os.path.split(__file__)[0])\n-        # This is the arch_config module of YAX not ARCH_CONFIG_NAME\n-        # DRY does not apply here.\n-        return os.path.join(root, 'arch_config.py')\n-\n     def __repr__(self):\n         return '\\n'.join([repr(node) for node in self.graph])\n \n-    def init(self, run_key):\n-        self.write_config(run_key)\n-\n     def prepare(self, run_key):\n-        \"\"\"Prepare a run\n+        \"\"\"Prepare a run given a `run_key`.\n \n         Looks for a file in the root directory which matches `run_key`.ini\n         The config will be validated and then any corresponding aritfacts\n         will be associated or declared with a run.\n \n+        If a run already exists for the given configuration, the artifacts will\n+        be declared if necessary and the pre-existing run key will be returned.\n+\n         Paramters\n         ---------\n         run_key : str\n             The run key to use\n \n         Returns\n         -------\n-        None\n+        str","path":"yax/state/jones.py","position":104,"original_position":104,"commit_id":"64fc0a846eaf6ed431815a40704c62e6c101504b","original_commit_id":"64fc0a846eaf6ed431815a40704c62e6c101504b","user":{"login":"MikeDeberg","id":10536655,"avatar_url":"https://avatars.githubusercontent.com/u/10536655?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeDeberg","html_url":"https://github.com/MikeDeberg","followers_url":"https://api.github.com/users/MikeDeberg/followers","following_url":"https://api.github.com/users/MikeDeberg/following{/other_user}","gists_url":"https://api.github.com/users/MikeDeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeDeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeDeberg/subscriptions","organizations_url":"https://api.github.com/users/MikeDeberg/orgs","repos_url":"https://api.github.com/users/MikeDeberg/repos","events_url":"https://api.github.com/users/MikeDeberg/events{/privacy}","received_events_url":"https://api.github.com/users/MikeDeberg/received_events","type":"User","site_admin":false},"body":"existing_run_key : str","created_at":"2016-04-25T20:27:26Z","updated_at":"2016-04-25T20:27:26Z","html_url":"https://github.com/yaxonomic/yax/pull/24#discussion_r60982584","pull_request_url":"https://api.github.com/repos/yaxonomic/yax/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/comments/60982584"},"html":{"href":"https://github.com/yaxonomic/yax/pull/24#discussion_r60982584"},"pull_request":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/yaxonomic/yax/pulls/24","id":67625430,"html_url":"https://github.com/yaxonomic/yax/pull/24","diff_url":"https://github.com/yaxonomic/yax/pull/24.diff","patch_url":"https://github.com/yaxonomic/yax/pull/24.patch","issue_url":"https://api.github.com/repos/yaxonomic/yax/issues/24","number":24,"state":"open","locked":false,"title":"Add docs and rename methods in artifact_map","user":{"login":"ebolyen","id":3976804,"avatar_url":"https://avatars.githubusercontent.com/u/3976804?v=3","gravatar_id":"","url":"https://api.github.com/users/ebolyen","html_url":"https://github.com/ebolyen","followers_url":"https://api.github.com/users/ebolyen/followers","following_url":"https://api.github.com/users/ebolyen/following{/other_user}","gists_url":"https://api.github.com/users/ebolyen/gists{/gist_id}","starred_url":"https://api.github.com/users/ebolyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebolyen/subscriptions","organizations_url":"https://api.github.com/users/ebolyen/orgs","repos_url":"https://api.github.com/users/ebolyen/repos","events_url":"https://api.github.com/users/ebolyen/events{/privacy}","received_events_url":"https://api.github.com/users/ebolyen/received_events","type":"User","site_admin":false},"body":"@MikeDeberg renamed some things, you should probably look this over.","created_at":"2016-04-24T02:45:48Z","updated_at":"2016-04-25T20:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ebb9c7dea15d7b1b38a8498aac910aab468d178","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yaxonomic/yax/pulls/24/commits","review_comments_url":"https://api.github.com/repos/yaxonomic/yax/pulls/24/comments","review_comment_url":"https://api.github.com/repos/yaxonomic/yax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yaxonomic/yax/issues/24/comments","statuses_url":"https://api.github.com/repos/yaxonomic/yax/statuses/64fc0a846eaf6ed431815a40704c62e6c101504b","head":{"label":"ebolyen:cleanup","ref":"cleanup","sha":"64fc0a846eaf6ed431815a40704c62e6c101504b","user":{"login":"ebolyen","id":3976804,"avatar_url":"https://avatars.githubusercontent.com/u/3976804?v=3","gravatar_id":"","url":"https://api.github.com/users/ebolyen","html_url":"https://github.com/ebolyen","followers_url":"https://api.github.com/users/ebolyen/followers","following_url":"https://api.github.com/users/ebolyen/following{/other_user}","gists_url":"https://api.github.com/users/ebolyen/gists{/gist_id}","starred_url":"https://api.github.com/users/ebolyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebolyen/subscriptions","organizations_url":"https://api.github.com/users/ebolyen/orgs","repos_url":"https://api.github.com/users/ebolyen/repos","events_url":"https://api.github.com/users/ebolyen/events{/privacy}","received_events_url":"https://api.github.com/users/ebolyen/received_events","type":"User","site_admin":false},"repo":{"id":52178283,"name":"yax","full_name":"ebolyen/yax","owner":{"login":"ebolyen","id":3976804,"avatar_url":"https://avatars.githubusercontent.com/u/3976804?v=3","gravatar_id":"","url":"https://api.github.com/users/ebolyen","html_url":"https://github.com/ebolyen","followers_url":"https://api.github.com/users/ebolyen/followers","following_url":"https://api.github.com/users/ebolyen/following{/other_user}","gists_url":"https://api.github.com/users/ebolyen/gists{/gist_id}","starred_url":"https://api.github.com/users/ebolyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebolyen/subscriptions","organizations_url":"https://api.github.com/users/ebolyen/orgs","repos_url":"https://api.github.com/users/ebolyen/repos","events_url":"https://api.github.com/users/ebolyen/events{/privacy}","received_events_url":"https://api.github.com/users/ebolyen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ebolyen/yax","description":"","fork":true,"url":"https://api.github.com/repos/ebolyen/yax","forks_url":"https://api.github.com/repos/ebolyen/yax/forks","keys_url":"https://api.github.com/repos/ebolyen/yax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebolyen/yax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebolyen/yax/teams","hooks_url":"https://api.github.com/repos/ebolyen/yax/hooks","issue_events_url":"https://api.github.com/repos/ebolyen/yax/issues/events{/number}","events_url":"https://api.github.com/repos/ebolyen/yax/events","assignees_url":"https://api.github.com/repos/ebolyen/yax/assignees{/user}","branches_url":"https://api.github.com/repos/ebolyen/yax/branches{/branch}","tags_url":"https://api.github.com/repos/ebolyen/yax/tags","blobs_url":"https://api.github.com/repos/ebolyen/yax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebolyen/yax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebolyen/yax/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebolyen/yax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebolyen/yax/statuses/{sha}","languages_url":"https://api.github.com/repos/ebolyen/yax/languages","stargazers_url":"https://api.github.com/repos/ebolyen/yax/stargazers","contributors_url":"https://api.github.com/repos/ebolyen/yax/contributors","subscribers_url":"https://api.github.com/repos/ebolyen/yax/subscribers","subscription_url":"https://api.github.com/repos/ebolyen/yax/subscription","commits_url":"https://api.github.com/repos/ebolyen/yax/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebolyen/yax/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebolyen/yax/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebolyen/yax/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebolyen/yax/contents/{+path}","compare_url":"https://api.github.com/repos/ebolyen/yax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebolyen/yax/merges","archive_url":"https://api.github.com/repos/ebolyen/yax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebolyen/yax/downloads","issues_url":"https://api.github.com/repos/ebolyen/yax/issues{/number}","pulls_url":"https://api.github.com/repos/ebolyen/yax/pulls{/number}","milestones_url":"https://api.github.com/repos/ebolyen/yax/milestones{/number}","notifications_url":"https://api.github.com/repos/ebolyen/yax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebolyen/yax/labels{/name}","releases_url":"https://api.github.com/repos/ebolyen/yax/releases{/id}","deployments_url":"https://api.github.com/repos/ebolyen/yax/deployments","created_at":"2016-02-20T22:15:16Z","updated_at":"2016-03-07T03:19:30Z","pushed_at":"2016-04-24T02:45:18Z","git_url":"git://github.com/ebolyen/yax.git","ssh_url":"git@github.com:ebolyen/yax.git","clone_url":"https://github.com/ebolyen/yax.git","svn_url":"https://github.com/ebolyen/yax","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"yaxonomic:master","ref":"master","sha":"3f151b0a02b2ddd9a3f1e70bcb5e52d74415912b","user":{"login":"yaxonomic","id":14225359,"avatar_url":"https://avatars.githubusercontent.com/u/14225359?v=3","gravatar_id":"","url":"https://api.github.com/users/yaxonomic","html_url":"https://github.com/yaxonomic","followers_url":"https://api.github.com/users/yaxonomic/followers","following_url":"https://api.github.com/users/yaxonomic/following{/other_user}","gists_url":"https://api.github.com/users/yaxonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/yaxonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaxonomic/subscriptions","organizations_url":"https://api.github.com/users/yaxonomic/orgs","repos_url":"https://api.github.com/users/yaxonomic/repos","events_url":"https://api.github.com/users/yaxonomic/events{/privacy}","received_events_url":"https://api.github.com/users/yaxonomic/received_events","type":"Organization","site_admin":false},"repo":{"id":52177281,"name":"yax","full_name":"yaxonomic/yax","owner":{"login":"yaxonomic","id":14225359,"avatar_url":"https://avatars.githubusercontent.com/u/14225359?v=3","gravatar_id":"","url":"https://api.github.com/users/yaxonomic","html_url":"https://github.com/yaxonomic","followers_url":"https://api.github.com/users/yaxonomic/followers","following_url":"https://api.github.com/users/yaxonomic/following{/other_user}","gists_url":"https://api.github.com/users/yaxonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/yaxonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaxonomic/subscriptions","organizations_url":"https://api.github.com/users/yaxonomic/orgs","repos_url":"https://api.github.com/users/yaxonomic/repos","events_url":"https://api.github.com/users/yaxonomic/events{/privacy}","received_events_url":"https://api.github.com/users/yaxonomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yaxonomic/yax","description":"","fork":false,"url":"https://api.github.com/repos/yaxonomic/yax","forks_url":"https://api.github.com/repos/yaxonomic/yax/forks","keys_url":"https://api.github.com/repos/yaxonomic/yax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yaxonomic/yax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yaxonomic/yax/teams","hooks_url":"https://api.github.com/repos/yaxonomic/yax/hooks","issue_events_url":"https://api.github.com/repos/yaxonomic/yax/issues/events{/number}","events_url":"https://api.github.com/repos/yaxonomic/yax/events","assignees_url":"https://api.github.com/repos/yaxonomic/yax/assignees{/user}","branches_url":"https://api.github.com/repos/yaxonomic/yax/branches{/branch}","tags_url":"https://api.github.com/repos/yaxonomic/yax/tags","blobs_url":"https://api.github.com/repos/yaxonomic/yax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yaxonomic/yax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yaxonomic/yax/git/refs{/sha}","trees_url":"https://api.github.com/repos/yaxonomic/yax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yaxonomic/yax/statuses/{sha}","languages_url":"https://api.github.com/repos/yaxonomic/yax/languages","stargazers_url":"https://api.github.com/repos/yaxonomic/yax/stargazers","contributors_url":"https://api.github.com/repos/yaxonomic/yax/contributors","subscribers_url":"https://api.github.com/repos/yaxonomic/yax/subscribers","subscription_url":"https://api.github.com/repos/yaxonomic/yax/subscription","commits_url":"https://api.github.com/repos/yaxonomic/yax/commits{/sha}","git_commits_url":"https://api.github.com/repos/yaxonomic/yax/git/commits{/sha}","comments_url":"https://api.github.com/repos/yaxonomic/yax/comments{/number}","issue_comment_url":"https://api.github.com/repos/yaxonomic/yax/issues/comments{/number}","contents_url":"https://api.github.com/repos/yaxonomic/yax/contents/{+path}","compare_url":"https://api.github.com/repos/yaxonomic/yax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yaxonomic/yax/merges","archive_url":"https://api.github.com/repos/yaxonomic/yax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yaxonomic/yax/downloads","issues_url":"https://api.github.com/repos/yaxonomic/yax/issues{/number}","pulls_url":"https://api.github.com/repos/yaxonomic/yax/pulls{/number}","milestones_url":"https://api.github.com/repos/yaxonomic/yax/milestones{/number}","notifications_url":"https://api.github.com/repos/yaxonomic/yax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yaxonomic/yax/labels{/name}","releases_url":"https://api.github.com/repos/yaxonomic/yax/releases{/id}","deployments_url":"https://api.github.com/repos/yaxonomic/yax/deployments","created_at":"2016-02-20T21:47:48Z","updated_at":"2016-02-21T19:32:59Z","pushed_at":"2016-04-24T02:45:49Z","git_url":"git://github.com/yaxonomic/yax.git","ssh_url":"git@github.com:yaxonomic/yax.git","clone_url":"https://github.com/yaxonomic/yax.git","svn_url":"https://github.com/yaxonomic/yax","homepage":null,"size":155,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/24"},"html":{"href":"https://github.com/yaxonomic/yax/pull/24"},"issue":{"href":"https://api.github.com/repos/yaxonomic/yax/issues/24"},"comments":{"href":"https://api.github.com/repos/yaxonomic/yax/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yaxonomic/yax/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/yaxonomic/yax/statuses/64fc0a846eaf6ed431815a40704c62e6c101504b"}}}}