Back to index

python-biopython  1.60
Public Member Functions
test_SeqIO_features.SeqFeatureCreation Class Reference

List of all members.

Public Member Functions

def test_qualifiers

Detailed Description

Test basic creation of SeqFeatures.

Definition at line 443 of file

Member Function Documentation

Pass in qualifiers to SeqFeatures.

Definition at line 447 of file

00448     def test_qualifiers(self):
00449         """Pass in qualifiers to SeqFeatures.
00450         """
00451         f = SeqFeature(FeatureLocation(10,20), strand=+1, type="CDS")
00452         self.assertEqual(f.qualifiers, {})
00453         f = SeqFeature(FeatureLocation(10,20), strand=+1, type="CDS",
00454                 qualifiers={"test": ["a test"]})
00455         self.assertEqual(f.qualifiers["test"], ["a test"])

The documentation for this class was generated from the following file: