{"action":"created","issue":{"url":"https://api.github.com/repos/mdtraj/mdtraj/issues/1004","labels_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/1004/comments","events_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/1004/events","html_url":"https://github.com/mdtraj/mdtraj/issues/1004","id":120974081,"number":1004,"title":"Bug in Trajectory.slice() with copy=False","user":{"login":"schilli","id":5195635,"avatar_url":"https://avatars.githubusercontent.com/u/5195635?v=3","gravatar_id":"","url":"https://api.github.com/users/schilli","html_url":"https://github.com/schilli","followers_url":"https://api.github.com/users/schilli/followers","following_url":"https://api.github.com/users/schilli/following{/other_user}","gists_url":"https://api.github.com/users/schilli/gists{/gist_id}","starred_url":"https://api.github.com/users/schilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schilli/subscriptions","organizations_url":"https://api.github.com/users/schilli/orgs","repos_url":"https://api.github.com/users/schilli/repos","events_url":"https://api.github.com/users/schilli/events{/privacy}","received_events_url":"https://api.github.com/users/schilli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-08T09:59:50Z","updated_at":"2015-12-08T19:23:03Z","closed_at":null,"body":"Hi,\r\nthere seems to be a bug in the Trajectory.slice() function. When it is done in place (copy=False),\r\nthe topology variable in the \"if copy\" conditional remains undefined and crash the initialization of the new trajectory.\r\nCheers.\r\nOliver"},"comment":{"url":"https://api.github.com/repos/mdtraj/mdtraj/issues/comments/162988130","html_url":"https://github.com/mdtraj/mdtraj/issues/1004#issuecomment-162988130","issue_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/1004","id":162988130,"user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T19:23:03Z","updated_at":"2015-12-08T19:23:03Z","body":"With anaconda, a convenient thing is to create a second environment that you can use for development:\r\n\r\n```\r\nconda create -n dev python=3.5 ipython cython numpy nose pytables scipy ...\r\nsource activate dev # on unix; on windows, I think it's just 'activate dev'\r\n```\r\nNow you're in a separate environment, and you can install stuff or mess around with your python installation in any way. Then if you run `source deactivate`, you'll go back to your original environment without any of those changes.\r\n\r\n"}}