{"action":"created","issue":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/774","labels_url":"https://api.github.com/repos/psychopy/psychopy/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/psychopy/psychopy/issues/774/comments","events_url":"https://api.github.com/repos/psychopy/psychopy/issues/774/events","html_url":"https://github.com/psychopy/psychopy/pull/774","id":53168012,"number":774,"title":"BF: import csv files containing quoted commas","user":{"login":"m-macaskill","id":931027,"avatar_url":"https://avatars.githubusercontent.com/u/931027?v=3","gravatar_id":"","url":"https://api.github.com/users/m-macaskill","html_url":"https://github.com/m-macaskill","followers_url":"https://api.github.com/users/m-macaskill/followers","following_url":"https://api.github.com/users/m-macaskill/following{/other_user}","gists_url":"https://api.github.com/users/m-macaskill/gists{/gist_id}","starred_url":"https://api.github.com/users/m-macaskill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-macaskill/subscriptions","organizations_url":"https://api.github.com/users/m-macaskill/orgs","repos_url":"https://api.github.com/users/m-macaskill/repos","events_url":"https://api.github.com/users/m-macaskill/events{/privacy}","received_events_url":"https://api.github.com/users/m-macaskill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-31T05:27:45Z","updated_at":"2015-01-05T01:07:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/psychopy/psychopy/pulls/774","html_url":"https://github.com/psychopy/psychopy/pull/774","diff_url":"https://github.com/psychopy/psychopy/pull/774.diff","patch_url":"https://github.com/psychopy/psychopy/pull/774.patch"},"body":"Currently, PsychoPy cannot import conditions files which have fields which contain commas, even when those fields are surrounded by quotes, which is a common CSV convention.\r\nTo fix this, the TrialHandler now imports conditions files using the pandas csv_reader rather than numpy's recfromcsv\r\nNB this works for Coder BUT Builder's loop dialog still fails to deal with csv files which contain quoted commas. That GUI aspect needs to be updated in a similar fashion but I'm not sure how.\r\ni.e. at this stage, data.py can deal with these csv files, but Builder users can't select them."},"comment":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/comments/68658318","html_url":"https://github.com/psychopy/psychopy/pull/774#issuecomment-68658318","issue_url":"https://api.github.com/repos/psychopy/psychopy/issues/774","id":68658318,"user":{"login":"m-macaskill","id":931027,"avatar_url":"https://avatars.githubusercontent.com/u/931027?v=3","gravatar_id":"","url":"https://api.github.com/users/m-macaskill","html_url":"https://github.com/m-macaskill","followers_url":"https://api.github.com/users/m-macaskill/followers","following_url":"https://api.github.com/users/m-macaskill/following{/other_user}","gists_url":"https://api.github.com/users/m-macaskill/gists{/gist_id}","starred_url":"https://api.github.com/users/m-macaskill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-macaskill/subscriptions","organizations_url":"https://api.github.com/users/m-macaskill/orgs","repos_url":"https://api.github.com/users/m-macaskill/repos","events_url":"https://api.github.com/users/m-macaskill/events{/privacy}","received_events_url":"https://api.github.com/users/m-macaskill/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T01:07:06Z","updated_at":"2015-01-05T01:07:06Z","body":"Ahh, I assumed it was already included, as there is an existing pandas import in data.py. But maybe that just comes from Alex's recent work to avoid the cycle of having to write/read data via disk. I think if we are pushing people to have an analysis workflow via PsychoPy, pandas seems now to be a necessary package for that.\r\n\r\nI can't follow the link to see what the Travis build failure is about…"}}