{"action":"created","issue":{"url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/547","labels_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/547/comments","events_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/547/events","html_url":"https://github.com/markovmodel/PyEMMA/issues/547","id":104507364,"number":547,"title":"FeatureReader._assert_toptraj_consistency fails for non-XTC files","user":{"login":"marscher","id":170287,"avatar_url":"https://avatars.githubusercontent.com/u/170287?v=3","gravatar_id":"","url":"https://api.github.com/users/marscher","html_url":"https://github.com/marscher","followers_url":"https://api.github.com/users/marscher/followers","following_url":"https://api.github.com/users/marscher/following{/other_user}","gists_url":"https://api.github.com/users/marscher/gists{/gist_id}","starred_url":"https://api.github.com/users/marscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marscher/subscriptions","organizations_url":"https://api.github.com/users/marscher/orgs","repos_url":"https://api.github.com/users/marscher/repos","events_url":"https://api.github.com/users/marscher/events{/privacy}","received_events_url":"https://api.github.com/users/marscher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/markovmodel/PyEMMA/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/markovmodel/PyEMMA/milestones/8","html_url":"https://github.com/markovmodel/PyEMMA/milestones/v2.0.1","labels_url":"https://api.github.com/repos/markovmodel/PyEMMA/milestones/8/labels","id":1125427,"number":8,"title":"v2.0.1","description":"","creator":{"login":"franknoe","id":6495810,"avatar_url":"https://avatars.githubusercontent.com/u/6495810?v=3","gravatar_id":"","url":"https://api.github.com/users/franknoe","html_url":"https://github.com/franknoe","followers_url":"https://api.github.com/users/franknoe/followers","following_url":"https://api.github.com/users/franknoe/following{/other_user}","gists_url":"https://api.github.com/users/franknoe/gists{/gist_id}","starred_url":"https://api.github.com/users/franknoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franknoe/subscriptions","organizations_url":"https://api.github.com/users/franknoe/orgs","repos_url":"https://api.github.com/users/franknoe/repos","events_url":"https://api.github.com/users/franknoe/events{/privacy}","received_events_url":"https://api.github.com/users/franknoe/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":2,"state":"open","created_at":"2015-05-22T10:35:09Z","updated_at":"2015-09-06T10:31:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-02T15:25:12Z","updated_at":"2015-09-07T15:11:39Z","closed_at":"2015-09-06T10:31:49Z","body":"``` python\r\ndef _assert_toptraj_consistency(self):\r\n    r\"\"\" Check if the topology and the trajfiles of the reader have the same n_atoms\"\"\"\r\n    with mdtraj.open(self.trajfiles[0],'r') as fh:\r\n        xyz, __, __, __ = fh.read(n_frames=1)\r\n    assert xyz.shape[1] == self.featurizer.topology.n_atoms, \"Mismatch in the number of atoms between the topology\" \\\r\n                                                            \" and the first trajectory file, %u vs %u\"% \\\r\n                                                            (self.featurizer.topology.n_atoms, xyz.shape[1])\r\n``` \r\n\r\nfails because for non-XTC files read does not always return a 4-tuple."},"comment":{"url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/comments/138321941","html_url":"https://github.com/markovmodel/PyEMMA/issues/547#issuecomment-138321941","issue_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/547","id":138321941,"user":{"login":"marscher","id":170287,"avatar_url":"https://avatars.githubusercontent.com/u/170287?v=3","gravatar_id":"","url":"https://api.github.com/users/marscher","html_url":"https://github.com/marscher","followers_url":"https://api.github.com/users/marscher/followers","following_url":"https://api.github.com/users/marscher/following{/other_user}","gists_url":"https://api.github.com/users/marscher/gists{/gist_id}","starred_url":"https://api.github.com/users/marscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marscher/subscriptions","organizations_url":"https://api.github.com/users/marscher/orgs","repos_url":"https://api.github.com/users/marscher/repos","events_url":"https://api.github.com/users/marscher/events{/privacy}","received_events_url":"https://api.github.com/users/marscher/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T15:11:39Z","updated_at":"2015-09-07T15:11:39Z","body":"> http://pyemma.org/latest now has the right changelog, but there's no\n> 2.0.1 version button.\n\nI just noticed another issue. If one directly enters the stated url, one \ngets a 404 error on /latest.\n\nThis is most likely due to the double redirect from pyemma.org -> \npythonhosted.org -> emma-project.org. I'll suggest to remove the \nintermediate.\n\nIf the site is accessed from the emma-project.org url, it works like \nexpected.\n"}}