{"action":"created","issue":{"url":"https://api.github.com/repos/gandalfcode/gandalf/issues/47","labels_url":"https://api.github.com/repos/gandalfcode/gandalf/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/gandalfcode/gandalf/issues/47/comments","events_url":"https://api.github.com/repos/gandalfcode/gandalf/issues/47/events","html_url":"https://github.com/gandalfcode/gandalf/issues/47","id":117192482,"number":47,"title":"Multiple types in python","user":{"login":"giovanni-rosotti","id":1528450,"avatar_url":"https://avatars.githubusercontent.com/u/1528450?v=3","gravatar_id":"","url":"https://api.github.com/users/giovanni-rosotti","html_url":"https://github.com/giovanni-rosotti","followers_url":"https://api.github.com/users/giovanni-rosotti/followers","following_url":"https://api.github.com/users/giovanni-rosotti/following{/other_user}","gists_url":"https://api.github.com/users/giovanni-rosotti/gists{/gist_id}","starred_url":"https://api.github.com/users/giovanni-rosotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovanni-rosotti/subscriptions","organizations_url":"https://api.github.com/users/giovanni-rosotti/orgs","repos_url":"https://api.github.com/users/giovanni-rosotti/repos","events_url":"https://api.github.com/users/giovanni-rosotti/events{/privacy}","received_events_url":"https://api.github.com/users/giovanni-rosotti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T18:49:05Z","updated_at":"2015-11-16T18:50:38Z","closed_at":null,"body":"It could be useful to have (some of) the python functions to support multiple types. It could be done either by passing lists of types (e.g. ['dust','sph']) or making the code understand fictitious type (e.g. 'total'). I'd prefer the first one but would like to know what you think.\r\nOnce we have decided the interface, I need to decide the implementation (i.e. either aggregate the arrays in python or modifying the c++ snapshot class. Or modifying only the render class if we think it's useful only for renders)"},"comment":{"url":"https://api.github.com/repos/gandalfcode/gandalf/issues/comments/157133662","html_url":"https://github.com/gandalfcode/gandalf/issues/47#issuecomment-157133662","issue_url":"https://api.github.com/repos/gandalfcode/gandalf/issues/47","id":157133662,"user":{"login":"rbooth200","id":15370420,"avatar_url":"https://avatars.githubusercontent.com/u/15370420?v=3","gravatar_id":"","url":"https://api.github.com/users/rbooth200","html_url":"https://github.com/rbooth200","followers_url":"https://api.github.com/users/rbooth200/followers","following_url":"https://api.github.com/users/rbooth200/following{/other_user}","gists_url":"https://api.github.com/users/rbooth200/gists{/gist_id}","starred_url":"https://api.github.com/users/rbooth200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbooth200/subscriptions","organizations_url":"https://api.github.com/users/rbooth200/orgs","repos_url":"https://api.github.com/users/rbooth200/repos","events_url":"https://api.github.com/users/rbooth200/events{/privacy}","received_events_url":"https://api.github.com/users/rbooth200/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T18:50:38Z","updated_at":"2015-11-16T18:50:38Z","body":"I prefer the list solution, it is more flexible. Although we need to be careful since both strings and lists are iterable."}}