{"action":"created","issue":{"url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/795","repository_url":"https://api.github.com/repos/GalSim-developers/GalSim","labels_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/795/comments","events_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/795/events","html_url":"https://github.com/GalSim-developers/GalSim/issues/795","id":174411412,"number":795,"title":"make COSMOSCatalog file treatment more general","user":{"login":"rmandelb","id":1454906,"avatar_url":"https://avatars.githubusercontent.com/u/1454906?v=3","gravatar_id":"","url":"https://api.github.com/users/rmandelb","html_url":"https://github.com/rmandelb","followers_url":"https://api.github.com/users/rmandelb/followers","following_url":"https://api.github.com/users/rmandelb/following{/other_user}","gists_url":"https://api.github.com/users/rmandelb/gists{/gist_id}","starred_url":"https://api.github.com/users/rmandelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmandelb/subscriptions","organizations_url":"https://api.github.com/users/rmandelb/orgs","repos_url":"https://api.github.com/users/rmandelb/repos","events_url":"https://api.github.com/users/rmandelb/events{/privacy}","received_events_url":"https://api.github.com/users/rmandelb/received_events","type":"User","site_admin":false},"labels":[{"id":418662,"url":"https://api.github.com/repos/GalSim-developers/GalSim/labels/cleanup","name":"cleanup","color":"d7e102","default":false},{"id":83487880,"url":"https://api.github.com/repos/GalSim-developers/GalSim/labels/feature%20request","name":"feature request","color":"d4c5f9","default":false},{"id":486014137,"url":"https://api.github.com/repos/GalSim-developers/GalSim/labels/inputs","name":"inputs","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":{"login":"rmandelb","id":1454906,"avatar_url":"https://avatars.githubusercontent.com/u/1454906?v=3","gravatar_id":"","url":"https://api.github.com/users/rmandelb","html_url":"https://github.com/rmandelb","followers_url":"https://api.github.com/users/rmandelb/followers","following_url":"https://api.github.com/users/rmandelb/following{/other_user}","gists_url":"https://api.github.com/users/rmandelb/gists{/gist_id}","starred_url":"https://api.github.com/users/rmandelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmandelb/subscriptions","organizations_url":"https://api.github.com/users/rmandelb/orgs","repos_url":"https://api.github.com/users/rmandelb/repos","events_url":"https://api.github.com/users/rmandelb/events{/privacy}","received_events_url":"https://api.github.com/users/rmandelb/received_events","type":"User","site_admin":false},"assignees":[{"login":"rmandelb","id":1454906,"avatar_url":"https://avatars.githubusercontent.com/u/1454906?v=3","gravatar_id":"","url":"https://api.github.com/users/rmandelb","html_url":"https://github.com/rmandelb","followers_url":"https://api.github.com/users/rmandelb/followers","following_url":"https://api.github.com/users/rmandelb/following{/other_user}","gists_url":"https://api.github.com/users/rmandelb/gists{/gist_id}","starred_url":"https://api.github.com/users/rmandelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmandelb/subscriptions","organizations_url":"https://api.github.com/users/rmandelb/orgs","repos_url":"https://api.github.com/users/rmandelb/repos","events_url":"https://api.github.com/users/rmandelb/events{/privacy}","received_events_url":"https://api.github.com/users/rmandelb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-09-01T00:41:03Z","updated_at":"2016-12-22T14:31:26Z","closed_at":null,"body":"I recently had a reason to make a new version of the 25.2 sample COSMOS catalog with some modifications, and discovered that when I tried to read in and use the new catalog, there were a few issues:\n\n1) I used the same file naming scheme (`real_galaxy_catalog_SAMPLE.fits` and similar pattersn for the file with selection criteria) just with a different SAMPLE.  However, the code is not set up to try this naming scheme if you tell it a new value of `sample`.  It'll just complain that it doesn't know how to deal with that sample.  I would like it to try to find files with the default naming scheme for that sample, and only if it can't find them in `dir` should it say it doesn't know what to do for this `sample`.\n\n2) If you give it the `file_name` kwarg, it tries to find the selection file for the default sample (and issues a warning).\n\nI propose to make minor code updates in scene.py to address both of these issues.\n"},"comment":{"url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/comments/268810870","html_url":"https://github.com/GalSim-developers/GalSim/issues/795#issuecomment-268810870","issue_url":"https://api.github.com/repos/GalSim-developers/GalSim/issues/795","id":268810870,"user":{"login":"rmandelb","id":1454906,"avatar_url":"https://avatars.githubusercontent.com/u/1454906?v=3","gravatar_id":"","url":"https://api.github.com/users/rmandelb","html_url":"https://github.com/rmandelb","followers_url":"https://api.github.com/users/rmandelb/followers","following_url":"https://api.github.com/users/rmandelb/following{/other_user}","gists_url":"https://api.github.com/users/rmandelb/gists{/gist_id}","starred_url":"https://api.github.com/users/rmandelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmandelb/subscriptions","organizations_url":"https://api.github.com/users/rmandelb/orgs","repos_url":"https://api.github.com/users/rmandelb/repos","events_url":"https://api.github.com/users/rmandelb/events{/privacy}","received_events_url":"https://api.github.com/users/rmandelb/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T14:31:26Z","updated_at":"2016-12-22T14:31:26Z","body":"@sowmyakth - are you still interested in this?  If you have no plans to do this in the near future, then I would like to do it in the coming ~week, so please let me know."}}
{"actor":{"display_login":"rmandelb"}}