Skip to content

Commit

Permalink
Fix doctest for dict order, e.g. Jython
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Aug 30, 2014
1 parent a0980d5 commit b04ddf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bio/NMR/xpktools.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def residue_dict(self, index):
>>> from Bio.NMR.xpktools import Peaklist
>>> peaklist = Peaklist('../Doc/examples/nmr/noed.xpk')
>>> residue_d = peaklist.residue_dict('H1')
>>> residue_d.keys()
['10', 'maxres', 'minres', '3', '5', '4', '7', '6', '9', '8']
>>> sorted(residue_d.keys())
['10', '3', '4', '5', '6', '7', '8', '9', 'maxres', 'minres']
>>> residue_d['10']
['8 10.hn 7.663 0.021 0.010 ++ 0.000 10.n 118.341 0.324 0.010 +E 0.000 10.n 118.476 0.324 0.010 +E 0.000 0.49840 0.49840 0']
Expand Down

0 comments on commit b04ddf2

Please sign in to comment.