[Biopython-dev] [Bug 2933] PDBList() get_status_list bug

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Oct 21 22:48:08 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2933


TallPaulInJax at yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |TallPaulInJax at yahoo.com




------- Comment #2 from TallPaulInJax at yahoo.com  2009-10-21 18:48 EST -------
With the code as-is:
           list = map(lambda x: x[3:7], \
                   filter(lambda x: x[-4:] == '.ent', \
                          map(lambda x: x.split()[-1], file)))
This test code:
    p = PDBList()
    [added,modified,obsolete] = p.get_recent_changes()
    print "Added=", added
    print "Modified=", modified
    print "Obsolete=", obsolete
Results in:
    Added= []
    Modified= []
    Obsolete= []

Yet visually these (20091016) weekly files have entries in them. Changing the
code to
        list = map(lambda x: x[0:4],file)
Results in:
Added= ['2k9d', '2k9i', '2kac', '2kap', '2kc5', '2kdx', '2khi', '2khj', '2khs',
'2ki0', '2ki2', '2kj4', '2klh', '2klu', '2v57', '2w9y', '2wgb', '2wl1', '2wor',
'2wos', '2wri', '2wrj', '2wrk', '2wrl', '2wrn', '2wro', '2wrq', '2wrr', '2wu3',
'2wu4', '2wu6', '2wu7', '2wud', '2wue', '2wuf', '2wug', '2wul', '2wuz', '2wv1',
'2zuh', '2zui', '2zuj', '3a0n', '3a0r', '3a0s', '3a0t', '3a0u', '3a0v', '3a0w',
'3a0x', '3a0y', '3a0z', '3a10', '3a2k', '3a3t', '3a4k', '3a4l', '3a4m', '3a4n',
'3eq2', '3es2', '3evh', '3evl', '3ew4', '3ewt', '3ewv', '3f3m', '3f3q', '3f3r',
'3f55', '3f68', '3f7e', '3fao', '3fei', '3fej', '3fhp', '3fhu', '3fou', '3ft7',
'3g05', '3g7a', '3g9w', '3gea', '3gew', '3gfu', '3ggh', '3gi3', '3glj', '3gne',
'3gns', '3gnt', '3gnv', '3gnw', '3gr6', '3gxk', '3gxr', '3h1t', '3h53', '3h54',
'3h55', '3h6q', '3h6r', '3h6s', '3h89', '3h8b', '3h8c', '3h8n', '3hi7', '3hig',
'3hii', '3hj2', '3hj7', '3hjh', '3hlr', '3hpv', '3hpy', '3hq0', '3hqh', '3hqi',
'3hql', '3hqm', '3hqs', '3hqt', '3hrq', '3hrr', '3hsn', '3hso', '3hsp', '3hsv',
'3htk', '3htm', '3hu6', '3hvs', '3hvv', '3hvx', '3hx3', '3hy5', '3hyf', '3hzl',
'3i43', '3i99', '3i9p', '3igu', '3im0', '3ipj', '3ira', '3is5', '3it8', '3it9',
'3ita', '3itb', '3ius', '3iuy', '3ivb', '3ivq', '3ivv', '3jpx', '3jr6', '3jr7',
'3jrn', '3jty', '3juh', '3jux', '3jvf', '3jwg', '3jwh', '3jwi', '3jwj', '3jwp',
'3jxu', '3jyu', '3jz1', '3jz2', '3k1y', '3k20', '3k2i', '3k2w', '3k31', '3k4s',
'3k5e', '3k5h', '3k5i', '3k63', '3k67', '3k6a', '3k6r']
Modified= ['1lug', '1nlf', '1u8d', '1uab', '1vst', '2dxb', '2dxc', '2e52',
'2gj5', '2gqg', '2gvl', '2gyt', '2igo', '2jjn', '2jjo', '2jxw', '2kal', '2kdr',
'2kis', '2klf', '2klg', '2klv', '2koe', '2kon', '2qrm', '2qrp', '2qrq', '2rfk',
'2uzj', '2v0y', '2v1p', '2v4v', '2vn4', '2vn7', '2wio', '2wjg', '2wml', '2wn4',
'2wn5', '2wn6', '2wn7', '2wn8', '2wnb', '2wnf', '2wqi', '2wqj', '2wr0', '2wr1',
'2wr2', '2wr3', '2wr4', '2wr5', '2wr7', '2wrb', '2wrc', '2wrd', '2wre', '2wrf',
'2wrg', '2zc9', '2zda', '2zf9', '2zfp', '2zgx', '2zo3', '2zva', '2zzd', '3a21',
'3a22', '3a23', '3a25', '3a26', '3a27', '3a5v', '3dge', '3dgf', '3dhk', '3djo',
'3djp', '3djq', '3djv', '3djx', '3dux', '3eft', '3eli', '3ess', '3f30', '3f4y',
'3f4z', '3f50', '3fan', '3fje', '3fjf', '3fjh', '3fji', '3fjj', '3fjk', '3ftq',
'3fwe', '3g5d', '3g6o', '3g6w', '3gfb', '3gfk', '3gjn', '3gwu', '3gwv', '3gww',
'3h3g', '3h90', '3h94', '3h9i', '3h9t', '3hg1', '3hhm', '3hhs', '3hif', '3hiz',
'3hjf', '3hk2', '3hm9', '3ho1', '3hom', '3hto', '3htp', '3htq', '3htt', '3htx',
'3hvr', '3hxm', '3hxt', '3hy2', '3hy3', '3hy4', '3hy6', '3i53', '3i58', '3i5u',
'3i64', '3i65', '3i68', '3i6r', '3iai', '3ibg', '3icv', '3icw', '3idq', '3ig3',
'3iiw', '3iiy', '3ij0', '3ij1', '3ijc', '3ijt', '3ikw', '3ilr', '3inn', '3ir8',
'3jsm', '3jwq', '3jyi', '3k2x', '3k45', '3k47']
Obsolete= ['2b3n', '2b7w', '2frn', '2fuw', '2wem', '3bw5']


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list