{"action":"created","issue":{"url":"https://api.github.com/repos/jobovy/galpy/issues/248","repository_url":"https://api.github.com/repos/jobovy/galpy","labels_url":"https://api.github.com/repos/jobovy/galpy/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/jobovy/galpy/issues/248/comments","events_url":"https://api.github.com/repos/jobovy/galpy/issues/248/events","html_url":"https://github.com/jobovy/galpy/issues/248","id":95236166,"number":248,"title":"AttributeError on InterpSnapshotRZPotential","user":{"login":"lepcampbell","id":13352748,"avatar_url":"https://avatars.githubusercontent.com/u/13352748?v=3","gravatar_id":"","url":"https://api.github.com/users/lepcampbell","html_url":"https://github.com/lepcampbell","followers_url":"https://api.github.com/users/lepcampbell/followers","following_url":"https://api.github.com/users/lepcampbell/following{/other_user}","gists_url":"https://api.github.com/users/lepcampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/lepcampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepcampbell/subscriptions","organizations_url":"https://api.github.com/users/lepcampbell/orgs","repos_url":"https://api.github.com/users/lepcampbell/repos","events_url":"https://api.github.com/users/lepcampbell/events{/privacy}","received_events_url":"https://api.github.com/users/lepcampbell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jobovy","id":1044876,"avatar_url":"https://avatars.githubusercontent.com/u/1044876?v=3","gravatar_id":"","url":"https://api.github.com/users/jobovy","html_url":"https://github.com/jobovy","followers_url":"https://api.github.com/users/jobovy/followers","following_url":"https://api.github.com/users/jobovy/following{/other_user}","gists_url":"https://api.github.com/users/jobovy/gists{/gist_id}","starred_url":"https://api.github.com/users/jobovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobovy/subscriptions","organizations_url":"https://api.github.com/users/jobovy/orgs","repos_url":"https://api.github.com/users/jobovy/repos","events_url":"https://api.github.com/users/jobovy/events{/privacy}","received_events_url":"https://api.github.com/users/jobovy/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-07-15T16:32:49Z","updated_at":"2016-05-18T23:14:45Z","closed_at":"2016-05-18T23:14:45Z","body":"Hi Jo,\r\n\r\nI'm working through the examples provided in the documentation (which are very helpful). Everything seems to be working great until I get to the new InterpSnapshotRZPotential example. \r\n\r\nSpecifically, loading the interpolated snapshot:\r\n>>>spi= InterpSnapshotRZPotential(h1,rgrid=(numpy.log(0.01),numpy.log(20.),101),logR=True,zgrid=(0.,10.,101),interpPot=True,zsym=True)\r\n\r\nreturns the following error:\r\n    561     #Set up the C code\r\n    562     ndarrayFlags= ('C_CONTIGUOUS','WRITEABLE')\r\n--> 563     interppotential_calc_2dsplinecoeffs= _lib.samples_to_coefficients\r\n    564     interppotential_calc_2dsplinecoeffs.argtypes= [ndpointer(dtype=numpy.float64,flags=ndarrayFlags),\r\n    565                                                    ctypes.c_int,\r\n\r\nAttributeError: 'NoneType' object has no attribute 'samples_to_coefficients'\r\n\r\nThanks in advance for any help you can provide."},"comment":{"url":"https://api.github.com/repos/jobovy/galpy/issues/comments/220185637","html_url":"https://github.com/jobovy/galpy/issues/248#issuecomment-220185637","issue_url":"https://api.github.com/repos/jobovy/galpy/issues/248","id":220185637,"user":{"login":"jobovy","id":1044876,"avatar_url":"https://avatars.githubusercontent.com/u/1044876?v=3","gravatar_id":"","url":"https://api.github.com/users/jobovy","html_url":"https://github.com/jobovy","followers_url":"https://api.github.com/users/jobovy/followers","following_url":"https://api.github.com/users/jobovy/following{/other_user}","gists_url":"https://api.github.com/users/jobovy/gists{/gist_id}","starred_url":"https://api.github.com/users/jobovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobovy/subscriptions","organizations_url":"https://api.github.com/users/jobovy/orgs","repos_url":"https://api.github.com/users/jobovy/repos","events_url":"https://api.github.com/users/jobovy/events{/privacy}","received_events_url":"https://api.github.com/users/jobovy/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T23:14:45Z","updated_at":"2016-05-18T23:14:45Z","body":"Closing this because of lack of updates and does not appear to be a real issue with the code."}}