{"action":"closed","number":132,"pull_request":{"url":"https://api.github.com/repos/nanograv/PINT/pulls/132","id":62597792,"html_url":"https://github.com/nanograv/PINT/pull/132","diff_url":"https://github.com/nanograv/PINT/pull/132.diff","patch_url":"https://github.com/nanograv/PINT/pull/132.patch","issue_url":"https://api.github.com/repos/nanograv/PINT/issues/132","number":132,"state":"closed","locked":false,"title":"Data file locations for test scripts","user":{"login":"demorest","id":159985,"avatar_url":"https://avatars.githubusercontent.com/u/159985?v=3","gravatar_id":"","url":"https://api.github.com/users/demorest","html_url":"https://github.com/demorest","followers_url":"https://api.github.com/users/demorest/followers","following_url":"https://api.github.com/users/demorest/following{/other_user}","gists_url":"https://api.github.com/users/demorest/gists{/gist_id}","starred_url":"https://api.github.com/users/demorest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demorest/subscriptions","organizations_url":"https://api.github.com/users/demorest/orgs","repos_url":"https://api.github.com/users/demorest/repos","events_url":"https://api.github.com/users/demorest/events{/privacy}","received_events_url":"https://api.github.com/users/demorest/received_events","type":"User","site_admin":false},"body":"This uses a `__file__` based approach to find the location of data files for the test scripts, replacing use of the PINT environment variable for this.  Test scripts can \"import pinttestdata\" to get the full path to the data file directory.\r\n\r\nI also edited the examples/fit_NGC6440E.py script similarly so that it does not need to be run from a specific directory.","created_at":"2016-03-11T20:26:44Z","updated_at":"2016-03-11T23:05:43Z","closed_at":"2016-03-11T23:05:43Z","merged_at":"2016-03-11T23:05:43Z","merge_commit_sha":"51f9b7de53ab786fec7f0ed7c1dbf76140fa71cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nanograv/PINT/pulls/132/commits","review_comments_url":"https://api.github.com/repos/nanograv/PINT/pulls/132/comments","review_comment_url":"https://api.github.com/repos/nanograv/PINT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nanograv/PINT/issues/132/comments","statuses_url":"https://api.github.com/repos/nanograv/PINT/statuses/d28ea6e877a7b6c9b99856f0f336db0a35997e04","head":{"label":"demorest:test_datafiles","ref":"test_datafiles","sha":"d28ea6e877a7b6c9b99856f0f336db0a35997e04","user":{"login":"demorest","id":159985,"avatar_url":"https://avatars.githubusercontent.com/u/159985?v=3","gravatar_id":"","url":"https://api.github.com/users/demorest","html_url":"https://github.com/demorest","followers_url":"https://api.github.com/users/demorest/followers","following_url":"https://api.github.com/users/demorest/following{/other_user}","gists_url":"https://api.github.com/users/demorest/gists{/gist_id}","starred_url":"https://api.github.com/users/demorest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demorest/subscriptions","organizations_url":"https://api.github.com/users/demorest/orgs","repos_url":"https://api.github.com/users/demorest/repos","events_url":"https://api.github.com/users/demorest/events{/privacy}","received_events_url":"https://api.github.com/users/demorest/received_events","type":"User","site_admin":false},"repo":{"id":14937807,"name":"PINT","full_name":"demorest/PINT","owner":{"login":"demorest","id":159985,"avatar_url":"https://avatars.githubusercontent.com/u/159985?v=3","gravatar_id":"","url":"https://api.github.com/users/demorest","html_url":"https://github.com/demorest","followers_url":"https://api.github.com/users/demorest/followers","following_url":"https://api.github.com/users/demorest/following{/other_user}","gists_url":"https://api.github.com/users/demorest/gists{/gist_id}","starred_url":"https://api.github.com/users/demorest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demorest/subscriptions","organizations_url":"https://api.github.com/users/demorest/orgs","repos_url":"https://api.github.com/users/demorest/repos","events_url":"https://api.github.com/users/demorest/events{/privacy}","received_events_url":"https://api.github.com/users/demorest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/demorest/PINT","description":"PINT is not TEMPO3","fork":true,"url":"https://api.github.com/repos/demorest/PINT","forks_url":"https://api.github.com/repos/demorest/PINT/forks","keys_url":"https://api.github.com/repos/demorest/PINT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demorest/PINT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demorest/PINT/teams","hooks_url":"https://api.github.com/repos/demorest/PINT/hooks","issue_events_url":"https://api.github.com/repos/demorest/PINT/issues/events{/number}","events_url":"https://api.github.com/repos/demorest/PINT/events","assignees_url":"https://api.github.com/repos/demorest/PINT/assignees{/user}","branches_url":"https://api.github.com/repos/demorest/PINT/branches{/branch}","tags_url":"https://api.github.com/repos/demorest/PINT/tags","blobs_url":"https://api.github.com/repos/demorest/PINT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demorest/PINT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demorest/PINT/git/refs{/sha}","trees_url":"https://api.github.com/repos/demorest/PINT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demorest/PINT/statuses/{sha}","languages_url":"https://api.github.com/repos/demorest/PINT/languages","stargazers_url":"https://api.github.com/repos/demorest/PINT/stargazers","contributors_url":"https://api.github.com/repos/demorest/PINT/contributors","subscribers_url":"https://api.github.com/repos/demorest/PINT/subscribers","subscription_url":"https://api.github.com/repos/demorest/PINT/subscription","commits_url":"https://api.github.com/repos/demorest/PINT/commits{/sha}","git_commits_url":"https://api.github.com/repos/demorest/PINT/git/commits{/sha}","comments_url":"https://api.github.com/repos/demorest/PINT/comments{/number}","issue_comment_url":"https://api.github.com/repos/demorest/PINT/issues/comments{/number}","contents_url":"https://api.github.com/repos/demorest/PINT/contents/{+path}","compare_url":"https://api.github.com/repos/demorest/PINT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demorest/PINT/merges","archive_url":"https://api.github.com/repos/demorest/PINT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demorest/PINT/downloads","issues_url":"https://api.github.com/repos/demorest/PINT/issues{/number}","pulls_url":"https://api.github.com/repos/demorest/PINT/pulls{/number}","milestones_url":"https://api.github.com/repos/demorest/PINT/milestones{/number}","notifications_url":"https://api.github.com/repos/demorest/PINT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demorest/PINT/labels{/name}","releases_url":"https://api.github.com/repos/demorest/PINT/releases{/id}","deployments_url":"https://api.github.com/repos/demorest/PINT/deployments","created_at":"2013-12-04T22:31:21Z","updated_at":"2015-06-04T16:50:23Z","pushed_at":"2016-03-11T23:05:24Z","git_url":"git://github.com/demorest/PINT.git","ssh_url":"git@github.com:demorest/PINT.git","clone_url":"https://github.com/demorest/PINT.git","svn_url":"https://github.com/demorest/PINT","homepage":null,"size":4883,"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":"nanograv:master","ref":"master","sha":"9fcd93d811b36a36932bc33ea3b723e1914a6ef1","user":{"login":"nanograv","id":1416848,"avatar_url":"https://avatars.githubusercontent.com/u/1416848?v=3","gravatar_id":"","url":"https://api.github.com/users/nanograv","html_url":"https://github.com/nanograv","followers_url":"https://api.github.com/users/nanograv/followers","following_url":"https://api.github.com/users/nanograv/following{/other_user}","gists_url":"https://api.github.com/users/nanograv/gists{/gist_id}","starred_url":"https://api.github.com/users/nanograv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanograv/subscriptions","organizations_url":"https://api.github.com/users/nanograv/orgs","repos_url":"https://api.github.com/users/nanograv/repos","events_url":"https://api.github.com/users/nanograv/events{/privacy}","received_events_url":"https://api.github.com/users/nanograv/received_events","type":"Organization","site_admin":false},"repo":{"id":14937594,"name":"PINT","full_name":"nanograv/PINT","owner":{"login":"nanograv","id":1416848,"avatar_url":"https://avatars.githubusercontent.com/u/1416848?v=3","gravatar_id":"","url":"https://api.github.com/users/nanograv","html_url":"https://github.com/nanograv","followers_url":"https://api.github.com/users/nanograv/followers","following_url":"https://api.github.com/users/nanograv/following{/other_user}","gists_url":"https://api.github.com/users/nanograv/gists{/gist_id}","starred_url":"https://api.github.com/users/nanograv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanograv/subscriptions","organizations_url":"https://api.github.com/users/nanograv/orgs","repos_url":"https://api.github.com/users/nanograv/repos","events_url":"https://api.github.com/users/nanograv/events{/privacy}","received_events_url":"https://api.github.com/users/nanograv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nanograv/PINT","description":"PINT is not TEMPO3 -- New software for high-precision pulsar timing","fork":false,"url":"https://api.github.com/repos/nanograv/PINT","forks_url":"https://api.github.com/repos/nanograv/PINT/forks","keys_url":"https://api.github.com/repos/nanograv/PINT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanograv/PINT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanograv/PINT/teams","hooks_url":"https://api.github.com/repos/nanograv/PINT/hooks","issue_events_url":"https://api.github.com/repos/nanograv/PINT/issues/events{/number}","events_url":"https://api.github.com/repos/nanograv/PINT/events","assignees_url":"https://api.github.com/repos/nanograv/PINT/assignees{/user}","branches_url":"https://api.github.com/repos/nanograv/PINT/branches{/branch}","tags_url":"https://api.github.com/repos/nanograv/PINT/tags","blobs_url":"https://api.github.com/repos/nanograv/PINT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanograv/PINT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanograv/PINT/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanograv/PINT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanograv/PINT/statuses/{sha}","languages_url":"https://api.github.com/repos/nanograv/PINT/languages","stargazers_url":"https://api.github.com/repos/nanograv/PINT/stargazers","contributors_url":"https://api.github.com/repos/nanograv/PINT/contributors","subscribers_url":"https://api.github.com/repos/nanograv/PINT/subscribers","subscription_url":"https://api.github.com/repos/nanograv/PINT/subscription","commits_url":"https://api.github.com/repos/nanograv/PINT/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanograv/PINT/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanograv/PINT/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanograv/PINT/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanograv/PINT/contents/{+path}","compare_url":"https://api.github.com/repos/nanograv/PINT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanograv/PINT/merges","archive_url":"https://api.github.com/repos/nanograv/PINT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanograv/PINT/downloads","issues_url":"https://api.github.com/repos/nanograv/PINT/issues{/number}","pulls_url":"https://api.github.com/repos/nanograv/PINT/pulls{/number}","milestones_url":"https://api.github.com/repos/nanograv/PINT/milestones{/number}","notifications_url":"https://api.github.com/repos/nanograv/PINT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanograv/PINT/labels{/name}","releases_url":"https://api.github.com/repos/nanograv/PINT/releases{/id}","deployments_url":"https://api.github.com/repos/nanograv/PINT/deployments","created_at":"2013-12-04T22:21:19Z","updated_at":"2016-01-12T01:40:06Z","pushed_at":"2016-03-11T23:05:43Z","git_url":"git://github.com/nanograv/PINT.git","ssh_url":"git@github.com:nanograv/PINT.git","clone_url":"https://github.com/nanograv/PINT.git","svn_url":"https://github.com/nanograv/PINT","homepage":"","size":13795,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":40,"forks":13,"open_issues":40,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nanograv/PINT/pulls/132"},"html":{"href":"https://github.com/nanograv/PINT/pull/132"},"issue":{"href":"https://api.github.com/repos/nanograv/PINT/issues/132"},"comments":{"href":"https://api.github.com/repos/nanograv/PINT/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/nanograv/PINT/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/nanograv/PINT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nanograv/PINT/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/nanograv/PINT/statuses/d28ea6e877a7b6c9b99856f0f336db0a35997e04"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"demorest","id":159985,"avatar_url":"https://avatars.githubusercontent.com/u/159985?v=3","gravatar_id":"","url":"https://api.github.com/users/demorest","html_url":"https://github.com/demorest","followers_url":"https://api.github.com/users/demorest/followers","following_url":"https://api.github.com/users/demorest/following{/other_user}","gists_url":"https://api.github.com/users/demorest/gists{/gist_id}","starred_url":"https://api.github.com/users/demorest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demorest/subscriptions","organizations_url":"https://api.github.com/users/demorest/orgs","repos_url":"https://api.github.com/users/demorest/repos","events_url":"https://api.github.com/users/demorest/events{/privacy}","received_events_url":"https://api.github.com/users/demorest/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":41,"deletions":33,"changed_files":13}}