{"action":"created","issue":{"url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/6","labels_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/6/comments","events_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/6/events","html_url":"https://github.com/incf-nidash/nidm-query/issues/6","id":114376675,"number":6,"title":"Potentially change the value for the \"query\" key into a string rather than a list","user":{"login":"nicholsn","id":463344,"avatar_url":"https://avatars.githubusercontent.com/u/463344?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholsn","html_url":"https://github.com/nicholsn","followers_url":"https://api.github.com/users/nicholsn/followers","following_url":"https://api.github.com/users/nicholsn/following{/other_user}","gists_url":"https://api.github.com/users/nicholsn/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholsn/subscriptions","organizations_url":"https://api.github.com/users/nicholsn/orgs","repos_url":"https://api.github.com/users/nicholsn/repos","events_url":"https://api.github.com/users/nicholsn/events{/privacy}","received_events_url":"https://api.github.com/users/nicholsn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-31T00:24:03Z","updated_at":"2015-10-31T00:35:59Z","closed_at":null,"body":"Maybe there is a good reason for storing the query as a list rather than a string. If not, I propose it be stored as a string so it can be executed directly w/o preprocessing."},"comment":{"url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/comments/152680114","html_url":"https://github.com/incf-nidash/nidm-query/issues/6#issuecomment-152680114","issue_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/6","id":152680114,"user":{"login":"vsoch","id":814322,"avatar_url":"https://avatars.githubusercontent.com/u/814322?v=3","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T00:35:59Z","updated_at":"2015-10-31T00:35:59Z","body":"The benefit of a list is that it ensures readability when you look at the structure from within python, or just as a file. If we were to scrunch it into a string with newline characters, that would not be possible. I think there is always going to be some pre-processing given that the query is in a json file period, and the vision of nidm-api is that we can serve it somewhere and the query is executed from a URL anyway."}}