{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/daf_butler/pulls/comments/205180765","pull_request_review_id":140400338,"id":205180765,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTE4MDc2NQ==","diff_hunk":"@@ -1,65 +1,3 @@\n run: ingest\n-datastore:\n-  cls: lsst.daf.butler.datastores.posixDatastore.PosixDatastore\n-  root: ./butler_test_repository\n-  templates:\n-    default: \"{datasetType}/{tract:?}/{patch:?}/{filter:?}/{camera:?}_{visit:?}\"\n-    calexp: \"{datasetType}.{component:?}/{datasetType}_v{visit}_f{filter:?}_{component:?}\"\n-    metric: \"{datasetType}.{component:?}/{datasetType}_v{visit:08d}_f{filter}_{component:?}\"\n-    test_metric_comp: \"{datasetType}.{component:?}/{datasetType}_v{visit:08d}_f{camera}_{component:?}\"\n-  formatters:\n-    StructuredDataDictYaml: lsst.daf.butler.formatters.yamlFormatter.YamlFormatter\n-    StructuredDataListYaml: lsst.daf.butler.formatters.yamlFormatter.YamlFormatter\n-    StructuredDataDictJson: lsst.daf.butler.formatters.jsonFormatter.JsonFormatter\n-    StructuredDataListJson: lsst.daf.butler.formatters.jsonFormatter.JsonFormatter\n-    StructuredDataDictPickle: lsst.daf.butler.formatters.pickleFormatter.PickleFormatter\n-    StructuredDataListPickle: lsst.daf.butler.formatters.pickleFormatter.PickleFormatter\n-    StructuredData: lsst.daf.butler.formatters.yamlFormatter.YamlFormatter\n-    StructuredDataJson: lsst.daf.butler.formatters.jsonFormatter.JsonFormatter\n-    StructuredDataPickle: lsst.daf.butler.formatters.pickleFormatter.PickleFormatter\n-storageClasses:\n-  StructuredDataDictYaml:\n-    pytype: dict\n-  StructuredDataListYaml:\n-    pytype: list\n-  StructuredDataDictJson:\n-    pytype: dict\n-  StructuredDataListJson:\n-    pytype: list\n-  StructuredDataDictPickle:\n-    pytype: dict\n-  StructuredDataListPickle:\n-    pytype: list\n-  StructuredData: &StructuredData\n-    # Data from a simple Python class\n-    pytype: examplePythonTypes.MetricsExample\n-    assembler: lsst.daf.butler.core.composites.CompositeAssemblerMonolithic\n-    # Use YAML formatter by default\n-    components:\n-      # Components are those supported by get.\n-      summary: StructuredDataDictYaml\n-      output: StructuredDataDictYaml\n-      data: StructuredDataListYaml\n-  StructuredDataJson:\n-    <<: *StructuredData\n-  StructuredDataPickle:\n-    <<: *StructuredData\n-  StructuredComposite: &StructuredComposite\n-    pytype: examplePythonTypes.MetricsExample\n-    assembler: lsst.daf.butler.core.composites.CompositeAssembler\n-    components:\n-      summary: StructuredDataDictYaml\n-      output: StructuredDataDictYaml\n-      data: StructuredDataListYaml\n-  StructuredCompositeTestA:\n-    <<: *StructuredComposite\n-    components:\n-      summary: StructuredDataDictJson\n-      output: StructuredDataDictJson\n-      data: StructuredDataListJson\n-  StructuredCompositeTestB:\n-    <<: *StructuredComposite\n-    components:\n-      summary: StructuredDataDictPickle\n-      output: StructuredDataDictJson\n-      data: StructuredDataListYaml\n+datastore: !include posixDatastore.yaml\n+storageClasses: !include storageClasses.yaml","path":"tests/config/basic/butler.yaml","position":67,"original_position":67,"commit_id":"cfb220da32026c046ddc6c3c5845a87aa16e0e6f","original_commit_id":"9283106e4dbf1ccedde38e453d68640514b6873c","user":{"login":"timj","id":60622,"node_id":"MDQ6VXNlcjYwNjIy","avatar_url":"https://avatars1.githubusercontent.com/u/60622?v=4","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"Yes. I think the YAML parser chdirs to the directory containing the file. I think relative to the current YAML file is the right answer.","created_at":"2018-07-25T16:40:12Z","updated_at":"2018-07-25T16:40:12Z","html_url":"https://github.com/lsst/daf_butler/pull/58#discussion_r205180765","pull_request_url":"https://api.github.com/repos/lsst/daf_butler/pulls/58","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/comments/205180765"},"html":{"href":"https://github.com/lsst/daf_butler/pull/58#discussion_r205180765"},"pull_request":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/58"}},"in_reply_to_id":205169747},"pull_request":{"url":"https://api.github.com/repos/lsst/daf_butler/pulls/58","id":203614147,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNjE0MTQ3","html_url":"https://github.com/lsst/daf_butler/pull/58","diff_url":"https://github.com/lsst/daf_butler/pull/58.diff","patch_url":"https://github.com/lsst/daf_butler/pull/58.patch","issue_url":"https://api.github.com/repos/lsst/daf_butler/issues/58","number":58,"state":"open","locked":false,"title":"DM-13363: In memory datastore","user":{"login":"timj","id":60622,"node_id":"MDQ6VXNlcjYwNjIy","avatar_url":"https://avatars1.githubusercontent.com/u/60622?v=4","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"* Add an in memory datastore.\r\n* Reconfigure datastore tests to run with multiple datastores.","created_at":"2018-07-24T18:23:22Z","updated_at":"2018-07-25T16:40:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6056daebea9ae66586b4b8fe33b1df47df8fce30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lsst/daf_butler/pulls/58/commits","review_comments_url":"https://api.github.com/repos/lsst/daf_butler/pulls/58/comments","review_comment_url":"https://api.github.com/repos/lsst/daf_butler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/daf_butler/issues/58/comments","statuses_url":"https://api.github.com/repos/lsst/daf_butler/statuses/cfb220da32026c046ddc6c3c5845a87aa16e0e6f","head":{"label":"lsst:tickets/DM-13363","ref":"tickets/DM-13363","sha":"cfb220da32026c046ddc6c3c5845a87aa16e0e6f","user":{"login":"lsst","id":1134504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzQ1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134504?v=4","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":106873149,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4NzMxNDk=","name":"daf_butler","full_name":"lsst/daf_butler","owner":{"login":"lsst","id":1134504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzQ1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134504?v=4","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/daf_butler","description":"Prototype for data access framework described in DMTN-056","fork":false,"url":"https://api.github.com/repos/lsst/daf_butler","forks_url":"https://api.github.com/repos/lsst/daf_butler/forks","keys_url":"https://api.github.com/repos/lsst/daf_butler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/daf_butler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/daf_butler/teams","hooks_url":"https://api.github.com/repos/lsst/daf_butler/hooks","issue_events_url":"https://api.github.com/repos/lsst/daf_butler/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/daf_butler/events","assignees_url":"https://api.github.com/repos/lsst/daf_butler/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/daf_butler/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/daf_butler/tags","blobs_url":"https://api.github.com/repos/lsst/daf_butler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/daf_butler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/daf_butler/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/daf_butler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/daf_butler/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/daf_butler/languages","stargazers_url":"https://api.github.com/repos/lsst/daf_butler/stargazers","contributors_url":"https://api.github.com/repos/lsst/daf_butler/contributors","subscribers_url":"https://api.github.com/repos/lsst/daf_butler/subscribers","subscription_url":"https://api.github.com/repos/lsst/daf_butler/subscription","commits_url":"https://api.github.com/repos/lsst/daf_butler/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/daf_butler/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/daf_butler/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/daf_butler/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/daf_butler/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/daf_butler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/daf_butler/merges","archive_url":"https://api.github.com/repos/lsst/daf_butler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/daf_butler/downloads","issues_url":"https://api.github.com/repos/lsst/daf_butler/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/daf_butler/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/daf_butler/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/daf_butler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/daf_butler/labels{/name}","releases_url":"https://api.github.com/repos/lsst/daf_butler/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/daf_butler/deployments","created_at":"2017-10-13T21:03:25Z","updated_at":"2018-07-23T16:56:47Z","pushed_at":"2018-07-25T01:28:05Z","git_url":"git://github.com/lsst/daf_butler.git","ssh_url":"git@github.com:lsst/daf_butler.git","clone_url":"https://github.com/lsst/daf_butler.git","svn_url":"https://github.com/lsst/daf_butler","homepage":null,"size":790,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"57602870f3d4ac2112fb8c7e21ea0e5b9756c68d","user":{"login":"lsst","id":1134504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzQ1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134504?v=4","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":106873149,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4NzMxNDk=","name":"daf_butler","full_name":"lsst/daf_butler","owner":{"login":"lsst","id":1134504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzQ1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134504?v=4","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/daf_butler","description":"Prototype for data access framework described in DMTN-056","fork":false,"url":"https://api.github.com/repos/lsst/daf_butler","forks_url":"https://api.github.com/repos/lsst/daf_butler/forks","keys_url":"https://api.github.com/repos/lsst/daf_butler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/daf_butler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/daf_butler/teams","hooks_url":"https://api.github.com/repos/lsst/daf_butler/hooks","issue_events_url":"https://api.github.com/repos/lsst/daf_butler/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/daf_butler/events","assignees_url":"https://api.github.com/repos/lsst/daf_butler/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/daf_butler/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/daf_butler/tags","blobs_url":"https://api.github.com/repos/lsst/daf_butler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/daf_butler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/daf_butler/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/daf_butler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/daf_butler/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/daf_butler/languages","stargazers_url":"https://api.github.com/repos/lsst/daf_butler/stargazers","contributors_url":"https://api.github.com/repos/lsst/daf_butler/contributors","subscribers_url":"https://api.github.com/repos/lsst/daf_butler/subscribers","subscription_url":"https://api.github.com/repos/lsst/daf_butler/subscription","commits_url":"https://api.github.com/repos/lsst/daf_butler/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/daf_butler/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/daf_butler/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/daf_butler/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/daf_butler/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/daf_butler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/daf_butler/merges","archive_url":"https://api.github.com/repos/lsst/daf_butler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/daf_butler/downloads","issues_url":"https://api.github.com/repos/lsst/daf_butler/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/daf_butler/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/daf_butler/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/daf_butler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/daf_butler/labels{/name}","releases_url":"https://api.github.com/repos/lsst/daf_butler/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/daf_butler/deployments","created_at":"2017-10-13T21:03:25Z","updated_at":"2018-07-23T16:56:47Z","pushed_at":"2018-07-25T01:28:05Z","git_url":"git://github.com/lsst/daf_butler.git","ssh_url":"git@github.com:lsst/daf_butler.git","clone_url":"https://github.com/lsst/daf_butler.git","svn_url":"https://github.com/lsst/daf_butler","homepage":null,"size":790,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/58"},"html":{"href":"https://github.com/lsst/daf_butler/pull/58"},"issue":{"href":"https://api.github.com/repos/lsst/daf_butler/issues/58"},"comments":{"href":"https://api.github.com/repos/lsst/daf_butler/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/daf_butler/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/daf_butler/statuses/cfb220da32026c046ddc6c3c5845a87aa16e0e6f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"timj"}}