diff --git a/python/obitools3/dms/view/view.pyx b/python/obitools3/dms/view/view.pyx index 250749e..ecfd3a5 100644 --- a/python/obitools3/dms/view/view.pyx +++ b/python/obitools3/dms/view/view.pyx @@ -327,8 +327,15 @@ cdef class View(OBIWrapper) : for line in self : to_print = to_print + str(line) + "\n" return to_print + + # Width (column count) property getter + @property + def width(self): + return self.pointer().infos.column_count + + # DMS property getter @property def dms(self): return self._dms