{"action":"created","issue":{"url":"https://api.github.com/repos/nanograv/PINT/issues/62","labels_url":"https://api.github.com/repos/nanograv/PINT/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/nanograv/PINT/issues/62/comments","events_url":"https://api.github.com/repos/nanograv/PINT/issues/62/events","html_url":"https://github.com/nanograv/PINT/issues/62","id":118891254,"number":62,"title":"AttributeError: 'J1744-1134.t2' object has no attribute 'F2'","user":{"login":"vhaasteren","id":3092444,"avatar_url":"https://avatars.githubusercontent.com/u/3092444?v=3","gravatar_id":"","url":"https://api.github.com/users/vhaasteren","html_url":"https://github.com/vhaasteren","followers_url":"https://api.github.com/users/vhaasteren/followers","following_url":"https://api.github.com/users/vhaasteren/following{/other_user}","gists_url":"https://api.github.com/users/vhaasteren/gists{/gist_id}","starred_url":"https://api.github.com/users/vhaasteren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhaasteren/subscriptions","organizations_url":"https://api.github.com/users/vhaasteren/orgs","repos_url":"https://api.github.com/users/vhaasteren/repos","events_url":"https://api.github.com/users/vhaasteren/events{/privacy}","received_events_url":"https://api.github.com/users/vhaasteren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"scottransom","id":132898,"avatar_url":"https://avatars.githubusercontent.com/u/132898?v=3","gravatar_id":"","url":"https://api.github.com/users/scottransom","html_url":"https://github.com/scottransom","followers_url":"https://api.github.com/users/scottransom/followers","following_url":"https://api.github.com/users/scottransom/following{/other_user}","gists_url":"https://api.github.com/users/scottransom/gists{/gist_id}","starred_url":"https://api.github.com/users/scottransom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottransom/subscriptions","organizations_url":"https://api.github.com/users/scottransom/orgs","repos_url":"https://api.github.com/users/scottransom/repos","events_url":"https://api.github.com/users/scottransom/events{/privacy}","received_events_url":"https://api.github.com/users/scottransom/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-11-25T17:56:40Z","updated_at":"2015-11-25T18:24:27Z","closed_at":null,"body":"In the PINT directory:\r\nipython\r\nimport pint.models as pm\r\nm = pm.get_model('J1744-1134.t2.par')\r\nm.read_parfile('J1744-1134.t2.par')\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-8-b346b13aede4> in <module>()\r\n----> 1 m.read_parfile('J1744-1134.t2.par')\r\n\r\n/Users/vhaaster/research/code/PINT/pint/models/timing_model.pyc in read_parfile(self, filename)\r\n    334         # combinations of parameters, etc, that can only be done\r\n    335         # after the entire parfile is read\r\n--> 336         self.setup()\r\n    337 \r\n    338 \r\n\r\n/Users/vhaaster/research/code/PINT/pint/models/astrometry.pyc in setup(self)\r\n     59 \r\n     60     def setup(self):\r\n---> 61         super(Astrometry, self).setup()\r\n     62         # RA/DEC are required\r\n     63         for p in (\"RAJ\", \"DECJ\"):\r\n\r\n/Users/vhaaster/research/code/PINT/pint/models/spindown.pyc in setup(self)\r\n     65         for ii in range(self.num_spin_terms, -1, -1):\r\n     66             term = \"F%d\"%ii\r\n---> 67             if getattr(self, term).value==0.0 and \\\r\n     68                     getattr(self, term).uncertainty is None:\r\n     69                 delattr(self, term)\r\n\r\nAttributeError: 'J1744-1134.t2' object has no attribute 'F2'\r\n\r\nIn [9]: exit()\r\n"},"comment":{"url":"https://api.github.com/repos/nanograv/PINT/issues/comments/159693849","html_url":"https://github.com/nanograv/PINT/issues/62#issuecomment-159693849","issue_url":"https://api.github.com/repos/nanograv/PINT/issues/62","id":159693849,"user":{"login":"scottransom","id":132898,"avatar_url":"https://avatars.githubusercontent.com/u/132898?v=3","gravatar_id":"","url":"https://api.github.com/users/scottransom","html_url":"https://github.com/scottransom","followers_url":"https://api.github.com/users/scottransom/followers","following_url":"https://api.github.com/users/scottransom/following{/other_user}","gists_url":"https://api.github.com/users/scottransom/gists{/gist_id}","starred_url":"https://api.github.com/users/scottransom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottransom/subscriptions","organizations_url":"https://api.github.com/users/scottransom/orgs","repos_url":"https://api.github.com/users/scottransom/repos","events_url":"https://api.github.com/users/scottransom/events{/privacy}","received_events_url":"https://api.github.com/users/scottransom/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T18:24:27Z","updated_at":"2015-11-25T18:24:27Z","body":"Are you seeing an error right when you read that parfile in with m.get_model?  Because it is working fine for me..."}}