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

def Bio::GenBank::_FeatureConsumer::_add_feature (   self  )  [private]

Utility function to add a feature to the SeqRecord.

This does all of the appropriate checking to make sure we haven't
left any info behind, and that we are only adding info if it
exists.

Definition at line 569 of file __init__.py.

00569                           :
        """Utility function to add a feature to the SeqRecord.

        This does all of the appropriate checking to make sure we haven't
        left any info behind, and that we are only adding info if it
        exists.
        """
        if self._cur_feature:
            # if we have a left over qualifier, add it to the qualifiers
            # on the current feature
            self._add_qualifier()

            self._cur_qualifier_key = ''
            self._cur_qualifier_value = ''
            self.data.features.append(self._cur_feature)
            
    def feature_key(self, content):


Generated by  Doxygen 1.6.0   Back to index