{"action":"opened","number":474,"pull_request":{"url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474","id":223427754,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNDI3NzU0","html_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata/pull/474","diff_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata/pull/474.diff","patch_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata/pull/474.patch","issue_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/474","number":474,"state":"open","locked":false,"title":"ms: Missing History, WEIGHTS_SPECTRUM column","user":{"login":"mwilensky768","id":25001636,"node_id":"MDQ6VXNlcjI1MDAxNjM2","avatar_url":"https://avatars3.githubusercontent.com/u/25001636?v=4","gravatar_id":"","url":"https://api.github.com/users/mwilensky768","html_url":"https://github.com/mwilensky768","followers_url":"https://api.github.com/users/mwilensky768/followers","following_url":"https://api.github.com/users/mwilensky768/following{/other_user}","gists_url":"https://api.github.com/users/mwilensky768/gists{/gist_id}","starred_url":"https://api.github.com/users/mwilensky768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwilensky768/subscriptions","organizations_url":"https://api.github.com/users/mwilensky768/orgs","repos_url":"https://api.github.com/users/mwilensky768/repos","events_url":"https://api.github.com/users/mwilensky768/events{/privacy}","received_events_url":"https://api.github.com/users/mwilensky768/received_events","type":"User","site_admin":false},"body":"Here I have simply added a check to see if there is any history in the ms file. If there is none, it skips a block of code which appends history that errors when there is no history. Also, some measurement sets do not have a 'WEIGHTS_SPECTRUM' column, so in this case the information in the 'WEIGHTS' column is propagated across all the frequencies instead.","created_at":"2018-10-16T23:36:34Z","updated_at":"2018-10-16T23:36:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474/commits","review_comments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474/comments","review_comment_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/474/comments","statuses_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/statuses/afc5919f15d0a03f79c52b3d2ac0ef4b4328a314","head":{"label":"RadioAstronomySoftwareGroup:ms-history-check","ref":"ms-history-check","sha":"afc5919f15d0a03f79c52b3d2ac0ef4b4328a314","user":{"login":"RadioAstronomySoftwareGroup","id":41453363,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNDUzMzYz","avatar_url":"https://avatars1.githubusercontent.com/u/41453363?v=4","gravatar_id":"","url":"https://api.github.com/users/RadioAstronomySoftwareGroup","html_url":"https://github.com/RadioAstronomySoftwareGroup","followers_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/followers","following_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/following{/other_user}","gists_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/subscriptions","organizations_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/orgs","repos_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/repos","events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/events{/privacy}","received_events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":44563082,"node_id":"MDEwOlJlcG9zaXRvcnk0NDU2MzA4Mg==","name":"pyuvdata","full_name":"RadioAstronomySoftwareGroup/pyuvdata","private":false,"owner":{"login":"RadioAstronomySoftwareGroup","id":41453363,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNDUzMzYz","avatar_url":"https://avatars1.githubusercontent.com/u/41453363?v=4","gravatar_id":"","url":"https://api.github.com/users/RadioAstronomySoftwareGroup","html_url":"https://github.com/RadioAstronomySoftwareGroup","followers_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/followers","following_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/following{/other_user}","gists_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/subscriptions","organizations_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/orgs","repos_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/repos","events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/events{/privacy}","received_events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata","description":"A python model for interferometry data.","fork":false,"url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata","forks_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/forks","keys_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/teams","hooks_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/hooks","issue_events_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/events{/number}","events_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/events","assignees_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/assignees{/user}","branches_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/branches{/branch}","tags_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/tags","blobs_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/statuses/{sha}","languages_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/languages","stargazers_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/stargazers","contributors_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/contributors","subscribers_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/subscribers","subscription_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/subscription","commits_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/contents/{+path}","compare_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/merges","archive_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/downloads","issues_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues{/number}","pulls_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls{/number}","milestones_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/milestones{/number}","notifications_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/labels{/name}","releases_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/releases{/id}","deployments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/deployments","created_at":"2015-10-19T20:47:41Z","updated_at":"2018-10-15T17:25:45Z","pushed_at":"2018-10-16T23:31:16Z","git_url":"git://github.com/RadioAstronomySoftwareGroup/pyuvdata.git","ssh_url":"git@github.com:RadioAstronomySoftwareGroup/pyuvdata.git","clone_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata.git","svn_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata","homepage":"https://pyuvdata.readthedocs.io/en/latest/index.html","size":76588,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":9,"open_issues":58,"watchers":19,"default_branch":"master"}},"base":{"label":"RadioAstronomySoftwareGroup:master","ref":"master","sha":"f208c9a1cbee1afdebfc8f5b41e2c119b34d37a6","user":{"login":"RadioAstronomySoftwareGroup","id":41453363,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNDUzMzYz","avatar_url":"https://avatars1.githubusercontent.com/u/41453363?v=4","gravatar_id":"","url":"https://api.github.com/users/RadioAstronomySoftwareGroup","html_url":"https://github.com/RadioAstronomySoftwareGroup","followers_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/followers","following_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/following{/other_user}","gists_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/subscriptions","organizations_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/orgs","repos_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/repos","events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/events{/privacy}","received_events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":44563082,"node_id":"MDEwOlJlcG9zaXRvcnk0NDU2MzA4Mg==","name":"pyuvdata","full_name":"RadioAstronomySoftwareGroup/pyuvdata","private":false,"owner":{"login":"RadioAstronomySoftwareGroup","id":41453363,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNDUzMzYz","avatar_url":"https://avatars1.githubusercontent.com/u/41453363?v=4","gravatar_id":"","url":"https://api.github.com/users/RadioAstronomySoftwareGroup","html_url":"https://github.com/RadioAstronomySoftwareGroup","followers_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/followers","following_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/following{/other_user}","gists_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/subscriptions","organizations_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/orgs","repos_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/repos","events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/events{/privacy}","received_events_url":"https://api.github.com/users/RadioAstronomySoftwareGroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata","description":"A python model for interferometry data.","fork":false,"url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata","forks_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/forks","keys_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/teams","hooks_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/hooks","issue_events_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/events{/number}","events_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/events","assignees_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/assignees{/user}","branches_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/branches{/branch}","tags_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/tags","blobs_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/statuses/{sha}","languages_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/languages","stargazers_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/stargazers","contributors_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/contributors","subscribers_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/subscribers","subscription_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/subscription","commits_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/contents/{+path}","compare_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/merges","archive_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/downloads","issues_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues{/number}","pulls_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls{/number}","milestones_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/milestones{/number}","notifications_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/labels{/name}","releases_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/releases{/id}","deployments_url":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/deployments","created_at":"2015-10-19T20:47:41Z","updated_at":"2018-10-15T17:25:45Z","pushed_at":"2018-10-16T23:31:16Z","git_url":"git://github.com/RadioAstronomySoftwareGroup/pyuvdata.git","ssh_url":"git@github.com:RadioAstronomySoftwareGroup/pyuvdata.git","clone_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata.git","svn_url":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata","homepage":"https://pyuvdata.readthedocs.io/en/latest/index.html","size":76588,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":9,"open_issues":58,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474"},"html":{"href":"https://github.com/RadioAstronomySoftwareGroup/pyuvdata/pull/474"},"issue":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/474"},"comments":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/issues/474/comments"},"review_comments":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474/comments"},"review_comment":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/pulls/474/commits"},"statuses":{"href":"https://api.github.com/repos/RadioAstronomySoftwareGroup/pyuvdata/statuses/afc5919f15d0a03f79c52b3d2ac0ef4b4328a314"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":35,"deletions":26,"changed_files":1}}
{"actor":{"display_login":"mwilensky768"}}