Changeset 56 for trunk/mzcms/parsers.py


Ignore:
Timestamp:
Aug 11, 2010, 4:13:29 PM (10 years ago)
Author:
j@…
bzr:base-revision:
j@dannynavarro.net-20100811081721-bl1459g8nbhl4e67
bzr:committer:
Danny Navarro <j@dannynavarro.net>
bzr:file-ids:

mzcms/models.py models.py-20100730084238-fjjwldiefr0w07zv-4
mzcms/parsers.py parsers.py-20100806092910-g1sxvv1o5b9umkof-1
bzr:mapping-version:
v4
bzr:repository-uuid:
724254b2-fbe6-419d-9466-c04ef4c9d29d
bzr:revision-id:
j@dannynavarro.net-20100811085044-aij4496kvr2j04x6
bzr:revno:
56
bzr:revprop:branch-nick:
trunk
bzr:root:
trunk
bzr:timestamp:
2010-08-11 10:50:44.831000090 +0200
bzr:user-agent:
bzr2.1.2+bzr-svn1.0.3
svn:original-date:
2010-08-11T08:50:44.831000Z
Message:

Added update method for proteins folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mzcms/parsers.py

    r55 r56  
    283283                    ser_proteins, ser_peptides, \
    284284                    ser_spectra, ser_psms = dat_parser.parse(dat_file)
    285                     for prot_id, prot in ser_proteins.items():
    286                         if prot_id not in proteins:
    287                             proteins[str(prot_id)] = prot
     285                    proteins.update(ser_proteins)
    288286                    transaction.savepoint()
    289287                    for pep_id, pep in ser_peptides.items():
Note: See TracChangeset for help on using the changeset viewer.