{"action":"opened","issue":{"url":"https://api.github.com/repos/monarch-initiative/dipper/issues/186","labels_url":"https://api.github.com/repos/monarch-initiative/dipper/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/monarch-initiative/dipper/issues/186/comments","events_url":"https://api.github.com/repos/monarch-initiative/dipper/issues/186/events","html_url":"https://github.com/monarch-initiative/dipper/issues/186","id":101092607,"number":186,"title":"Provide unit tests for source file validation","user":{"login":"jmcmurry","id":3658863,"avatar_url":"https://avatars.githubusercontent.com/u/3658863?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcmurry","html_url":"https://github.com/jmcmurry","followers_url":"https://api.github.com/users/jmcmurry/followers","following_url":"https://api.github.com/users/jmcmurry/following{/other_user}","gists_url":"https://api.github.com/users/jmcmurry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcmurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcmurry/subscriptions","organizations_url":"https://api.github.com/users/jmcmurry/orgs","repos_url":"https://api.github.com/users/jmcmurry/repos","events_url":"https://api.github.com/users/jmcmurry/events{/privacy}","received_events_url":"https://api.github.com/users/jmcmurry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jmcmurry","id":3658863,"avatar_url":"https://avatars.githubusercontent.com/u/3658863?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcmurry","html_url":"https://github.com/jmcmurry","followers_url":"https://api.github.com/users/jmcmurry/followers","following_url":"https://api.github.com/users/jmcmurry/following{/other_user}","gists_url":"https://api.github.com/users/jmcmurry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcmurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcmurry/subscriptions","organizations_url":"https://api.github.com/users/jmcmurry/orgs","repos_url":"https://api.github.com/users/jmcmurry/repos","events_url":"https://api.github.com/users/jmcmurry/events{/privacy}","received_events_url":"https://api.github.com/users/jmcmurry/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-08-14T20:03:54Z","updated_at":"2015-08-14T20:03:54Z","closed_at":null,"body":"Most of our raw source data is derived from files, whether xml or csv. \r\nThe more we grow the number of datasets, the harder it will be to manage changes to each one.\r\nAt a minimum, it would be a good idea to put together some unit tests to test that each file is as we expect it to be (number of columns, order of columns, and, where appropriate names of columns).\r\nExisting CSV validators may be of use here.\r\neg. https://pypi.python.org/pypi/CsvSchema/\r\n"}}