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

def Bio::GenBank::_FeatureConsumer::feature_qualifier_name (   self,
  content_list 
)

When we get a qualifier key, use it as a dictionary key.

We receive a list of keys, since you can have valueless keys such as
/pseudo which would be passed in with the next key (since no other
tags separate them in the file)

Definition at line 868 of file __init__.py.

00868                                                   :
        """When we get a qualifier key, use it as a dictionary key.
        
        We receive a list of keys, since you can have valueless keys such as
        /pseudo which would be passed in with the next key (since no other
        tags separate them in the file)
        """
        for content in content_list:
            # add a qualifier if we've got one
            self._add_qualifier()

            # remove the / and = from the qualifier if they're present
            qual_key = content.replace('/', '')
            qual_key = qual_key.replace('=', '')
            qual_key = qual_key.strip()
            
            self._cur_qualifier_key = qual_key
            self._cur_qualifier_value = []
        
    def feature_qualifier_description(self, content):


Generated by  Doxygen 1.6.0   Back to index