attach annotations property to seq_span
[mussa.git] / py / seq_span.cpp
index d3e0b5b9bcb1563ebb162f08912e910447dfaabd..74e6244b874ca5035355c6359ffef054cd996489 100644 (file)
@@ -52,6 +52,8 @@ void export_seq_span()
     //.add_property("alphabet", 
     //              make_getter(&SeqSpan::get_alphabet,
     //                          return_value_policy<copy_const_reference>()))
+    .add_property("annotations", &SeqSpan::annotations, 
+                                 &SeqSpan::setAnnotations)
     .add_property("start", &SeqSpan::start, &SeqSpan::setStart,
                   "start position relative to root sequence")
     .add_property("stop", &SeqSpan::stop, &SeqSpan::setStop,