{"action":"created","issue":{"url":"https://api.github.com/repos/ParmEd/ParmEd/issues/267","labels_url":"https://api.github.com/repos/ParmEd/ParmEd/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/ParmEd/ParmEd/issues/267/comments","events_url":"https://api.github.com/repos/ParmEd/ParmEd/issues/267/events","html_url":"https://github.com/ParmEd/ParmEd/issues/267","id":94746239,"number":267,"title":"slicing to get a Structure","user":{"login":"hainm","id":4451957,"avatar_url":"https://avatars.githubusercontent.com/u/4451957?v=3","gravatar_id":"","url":"https://api.github.com/users/hainm","html_url":"https://github.com/hainm","followers_url":"https://api.github.com/users/hainm/followers","following_url":"https://api.github.com/users/hainm/following{/other_user}","gists_url":"https://api.github.com/users/hainm/gists{/gist_id}","starred_url":"https://api.github.com/users/hainm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hainm/subscriptions","organizations_url":"https://api.github.com/users/hainm/orgs","repos_url":"https://api.github.com/users/hainm/repos","events_url":"https://api.github.com/users/hainm/events{/privacy}","received_events_url":"https://api.github.com/users/hainm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-13T15:22:46Z","updated_at":"2015-07-13T15:53:05Z","closed_at":null,"body":"this is my situation\r\n\r\n```python\r\nIn [54]: p['@P*']\r\nOut[54]: <Atom P [0]; In AF2 0>\r\n\r\nIn [55]: p['@C*']\r\nOut[55]: <AmberParm 10 atoms; 1 residues; 6 bonds; parametrized>\r\n```\r\n\r\nI am wondering if just dump data to a Structure rather return either an Atom or and a Structure?\r\n"},"comment":{"url":"https://api.github.com/repos/ParmEd/ParmEd/issues/comments/120976187","html_url":"https://github.com/ParmEd/ParmEd/issues/267#issuecomment-120976187","issue_url":"https://api.github.com/repos/ParmEd/ParmEd/issues/267","id":120976187,"user":{"login":"swails","id":779022,"avatar_url":"https://avatars.githubusercontent.com/u/779022?v=3","gravatar_id":"","url":"https://api.github.com/users/swails","html_url":"https://github.com/swails","followers_url":"https://api.github.com/users/swails/followers","following_url":"https://api.github.com/users/swails/following{/other_user}","gists_url":"https://api.github.com/users/swails/gists{/gist_id}","starred_url":"https://api.github.com/users/swails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swails/subscriptions","organizations_url":"https://api.github.com/users/swails/orgs","repos_url":"https://api.github.com/users/swails/repos","events_url":"https://api.github.com/users/swails/events{/privacy}","received_events_url":"https://api.github.com/users/swails/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T15:53:05Z","updated_at":"2015-07-13T15:53:05Z","body":"Actually, I remember why I changed it now so that any single-atom selections only return an `Atom`.  At first, only a single integer selection would return an `Atom`.  But there are other circumstances where an `Atom` is what you want returned.  For instance:\r\n\r\n```Python\r\nstruct[10,2]    # The third atom of the 11th residue\r\nstruct['B',0,0] # The first atom of the 'B' chain\r\nstruct['@100']  # The 100th atom.\r\n```\r\n\r\nFor my uses, an `Atom` is what I'd want from all of those selections.  What behavior would fill your needs?"}}