Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::GenBank::_FeatureConsumer::definition (   self,
  definition 
)
Set the definition as the description of the sequence.

Definition at line 334 of file __init__.py.

                                    :
        """Set the definition as the description of the sequence.
        """
        if self.data.description :
            #Append to any existing description
            #e.g. EMBL files with two DE lines.
            self.data.description += " " + definition
        else :
            self.data.description = definition


Generated by  Doxygen 1.6.0   Back to index