{"action":"created","issue":{"url":"https://api.github.com/repos/dfm/python-fsps/issues/64","repository_url":"https://api.github.com/repos/dfm/python-fsps","labels_url":"https://api.github.com/repos/dfm/python-fsps/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/dfm/python-fsps/issues/64/comments","events_url":"https://api.github.com/repos/dfm/python-fsps/issues/64/events","html_url":"https://github.com/dfm/python-fsps/issues/64","id":171022243,"number":64,"title":"zmet out of range","user":{"login":"dnarayanan","id":4460891,"avatar_url":"https://avatars.githubusercontent.com/u/4460891?v=3","gravatar_id":"","url":"https://api.github.com/users/dnarayanan","html_url":"https://github.com/dnarayanan","followers_url":"https://api.github.com/users/dnarayanan/followers","following_url":"https://api.github.com/users/dnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/dnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/dnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnarayanan/subscriptions","organizations_url":"https://api.github.com/users/dnarayanan/orgs","repos_url":"https://api.github.com/users/dnarayanan/repos","events_url":"https://api.github.com/users/dnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/dnarayanan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-13T18:53:07Z","updated_at":"2016-08-15T15:16:07Z","closed_at":"2016-08-15T15:16:07Z","body":"for py-fsps hash: e27ea2d96e49fd587de653f127dfb6cf69e380c8\r\nand fsps hash: c45124307a5ecf2fb98e07c4c4b4193ee35a4a57\r\n\r\n(which I think should be the latest versions of each code), running the example from the py fsps docs returns an out of bounds error\r\n\r\n```\r\nIn [1]: import fsps\r\n\r\nIn [2]: sp = fsps.StellarPopulation(compute_vega_mags=False, sfh=0, zmet=20,dust_type=2, dust2=0.2, sf_start=6.)\r\n---------------------------------------------------------------------------\r\nAssertionError                            Traceback (most recent call last)\r\n<ipython-input-2-1569792ad7b1> in <module>()\r\n----> 1 sp = fsps.StellarPopulation(compute_vega_mags=False, sfh=0, zmet=20,dust_type=2, dust2=0.2, sf_start=6.)\r\n\r\n/ufrc/narayanan/desika.narayanan/pd/python-fsps/fsps/fsps.pyc in __init__(self, compute_vega_mags, vactoair_flag, zcontinuous, **kwargs)\r\n    450         # Parse any input options.\r\n    451         for k, v in self.params.iteritems():\r\n--> 452             self.params[k] = kwargs.pop(k, v)\r\n    453\r\n    454         # Make sure that we didn't get any unknown options.\r\n\r\n/ufrc/narayanan/desika.narayanan/pd/python-fsps/fsps/fsps.pyc in __setitem__(self, k, v)\r\n    992\r\n    993             self._params[k] = v\r\n--> 994             self.check_params()\r\n\r\n/ufrc/narayanan/desika.narayanan/pd/python-fsps/fsps/fsps.pyc in check_params(self)\r\n    971         NZ = driver.get_nz()\r\n    972         assert self._params[\"zmet\"] in range(1, NZ + 1), \\\r\n--> 973             \"zmet={0} out of range [1, {1}]\".format(self._params[\"zmet\"], NZ)\r\n    974         assert self._params[\"dust_type\"] in range(5), \\\r\n    975             \"dust_type={0} out of range [0, 4]\".format(\r\n\r\nAssertionError: zmet=20 out of range [1, 12]\r\n```"},"comment":{"url":"https://api.github.com/repos/dfm/python-fsps/issues/comments/239829455","html_url":"https://github.com/dfm/python-fsps/issues/64#issuecomment-239829455","issue_url":"https://api.github.com/repos/dfm/python-fsps/issues/64","id":239829455,"user":{"login":"dnarayanan","id":4460891,"avatar_url":"https://avatars.githubusercontent.com/u/4460891?v=3","gravatar_id":"","url":"https://api.github.com/users/dnarayanan","html_url":"https://github.com/dnarayanan","followers_url":"https://api.github.com/users/dnarayanan/followers","following_url":"https://api.github.com/users/dnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/dnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/dnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnarayanan/subscriptions","organizations_url":"https://api.github.com/users/dnarayanan/orgs","repos_url":"https://api.github.com/users/dnarayanan/repos","events_url":"https://api.github.com/users/dnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/dnarayanan/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T15:16:07Z","updated_at":"2016-08-15T15:16:07Z","body":"ah perfect - thanks a lot."}}
{"actor":{"display_login":"dnarayanan"}}