Skip to content

Commit

Permalink
Update README for 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Aug 26, 2017
1 parent e99117d commit 62d1518
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ Example
-------

>>> import atomium
>>> glucose = atomium.xyz_from_file("glucose.xyz")
>>> glucose.comment()
'glucose from 2gbp'
>>> glucose.model()
<Model (12 atoms)>
>>> glucose.model().mass()
168.0606
>>> pdb = atomium.fetch("5HVD")
>>> pdb.model()
<Model (2156 atoms)>
>>> pdb.model().chain("A")
<Chain (204 residues)>



Expand Down

0 comments on commit 62d1518

Please sign in to comment.