{"action":"created","issue":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/669","repository_url":"https://api.github.com/repos/MDAnalysis/mdanalysis","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/669/comments","events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/669/events","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/669","id":129089684,"number":669,"title":"XDR offsets are not deleted after the tests","user":{"login":"jbarnoud","id":1382074,"avatar_url":"https://avatars.githubusercontent.com/u/1382074?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnoud","html_url":"https://github.com/jbarnoud","followers_url":"https://api.github.com/users/jbarnoud/followers","following_url":"https://api.github.com/users/jbarnoud/following{/other_user}","gists_url":"https://api.github.com/users/jbarnoud/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnoud/subscriptions","organizations_url":"https://api.github.com/users/jbarnoud/orgs","repos_url":"https://api.github.com/users/jbarnoud/repos","events_url":"https://api.github.com/users/jbarnoud/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnoud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/Component-Readers","name":"Component-Readers","color":"0052cc"},{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/Format-Gromacs","name":"Format-Gromacs","color":"006b75"},{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/testing","name":"testing","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T09:52:50Z","updated_at":"2016-02-06T14:52:37Z","closed_at":null,"body":"The tests that use XTC or TR files produce cached offsets for these trajectories (files names .*_offset.npz). These files remain in the `testsuite/MDAnalysisTests/data` directory and never get clened. In addition to being messy, it makes some tests fail after a git checkout (probably because it messes with the ctimes).\r\n\r\nHere is an example of error:\r\n\r\n```\r\n======================================================================\r\nERROR: test_persistent_offsets_size_mismatch (MDAnalysisTests.coordinates.test_xdr.TestXTCReader_offsets)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/jon/dev/mdanalysis/testsuite/MDAnalysisTests/coordinates/test_xdr.py\", line 765, in test_persistent_offsets_size_mismatch\r\n    assert_equal(warn[0].message.args,\r\nIndexError: list index out of range\r\n\r\n----------------------------------------------------------------------\r\n```\r\n\r\nping @kain88-de "},"comment":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/comments/180781601","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/669#issuecomment-180781601","issue_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/669","id":180781601,"user":{"login":"kain88-de","id":4302678,"avatar_url":"https://avatars.githubusercontent.com/u/4302678?v=3","gravatar_id":"","url":"https://api.github.com/users/kain88-de","html_url":"https://github.com/kain88-de","followers_url":"https://api.github.com/users/kain88-de/followers","following_url":"https://api.github.com/users/kain88-de/following{/other_user}","gists_url":"https://api.github.com/users/kain88-de/gists{/gist_id}","starred_url":"https://api.github.com/users/kain88-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kain88-de/subscriptions","organizations_url":"https://api.github.com/users/kain88-de/orgs","repos_url":"https://api.github.com/users/kain88-de/repos","events_url":"https://api.github.com/users/kain88-de/events{/privacy}","received_events_url":"https://api.github.com/users/kain88-de/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T14:52:37Z","updated_at":"2016-02-06T14:52:37Z","body":"ah that isn't due to the cached offsets still being there. There tests actually run in a tempdir.\r\n\r\nWhat happens here is that the warning isn't caught. This is fixed in #656 "}}