Changeset 135 for plone4bio.biosql
- Timestamp:
- 02/13/10 19:15:26 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plone4bio.biosql/trunk/src/plone4bio/biosql/content/seqrecord.py
r134 r135 71 71 #TODO: plone4bio.base 72 72 def SearchableText(self): 73 return "%s %s %s %r" % (self.name, self.accession, self.description, self.annotations) 73 text = "%s %s %s" % (self.name, self.accession, self.description) 74 if self.annotations.has_key('references'): 75 for ref in self.annotations['references']: 76 text = "%s %s" % (text, ref) 77 return text 74 78 75 79 def Accession(self): … … 97 101 def _getSeqRecord(self, reload=False): 98 102 """ """ 99 # from stxnext import pdb;pdb.set_trace()100 103 if self._v_seqrecord is None or reload: 101 104 if self.getBioSQLRoot().seqrecord_key == 'accession':
