diff --git a/ramses/ram_object.py b/ramses/ram_object.py index 3dc6a60..35e2910 100644 --- a/ramses/ram_object.py +++ b/ramses/ram_object.py @@ -158,6 +158,10 @@ def comment( self ): """ return self.get('comment', '') + def setComment( self, comment ): + """Sets a new comment""" + self.set("comment", comment) + def color( self ): """Returns the color as (R,G,B)""" colorName = self.colorName().lstrip("#")