add annot and motif classes to python interface
[mussa.git] / py / glsequence.cpp
index f40efa31297564b74363608bf8e63f45c2d07a64..d736920619812b7694e446645fa62291cf670344 100644 (file)
@@ -19,6 +19,6 @@ void export_glsequence()
                   return_internal_reference<>())
     .add_property("x", &GlSequence::x, &GlSequence::setX)
     .add_property("y", &GlSequence::y, &GlSequence::setY)
-    .add_property("length", &GlSequence::length)
+    .add_property("__len__", &GlSequence::size)
   ;
 }