Changeset 282


Ignore:
Timestamp:
Dec 7, 2009, 12:49:52 PM (11 years ago)
Author:
jjbot
Message:

Fixed accession retrieval bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/IbidasAtomicServices2.py

    r280 r282  
    215215        msg = IbidasSimpleMessage()
    216216        names = args[self.ITEMNAMES]
     217        print "Got names: ", names
    217218        accessions = self.cd.item_prop_accession[_.value.within(*names)]
     219        accessions = accessions[:, msg.ITEMAC_FN]
    218220        items = self.cd.item.join(accessions, 'item_id', 'item_id').up()
    219221        msg.addItems(items)
    220222        msg.addItemAccessions(accessions)
    221         return msg.finalize()
     223        x = msg.finalize()
     224        print x
     225        return x
    222226
    223227    def getItemrelationsByID(self, ids):
Note: See TracChangeset for help on using the changeset viewer.