From f36691053b5bbee103707e428ef3b1f4cc40c947 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Mon, 27 Jul 2020 16:50:00 +0200 Subject: [PATCH] Python: added the OBITools3 version that generated the view in view comments --- python/obitools3/dms/view/view.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/obitools3/dms/view/view.pyx b/python/obitools3/dms/view/view.pyx index 28433f8..33d4a67 100755 --- a/python/obitools3/dms/view/view.pyx +++ b/python/obitools3/dms/view/view.pyx @@ -7,6 +7,7 @@ cdef dict __VIEW_CLASS__= {} from libc.stdlib cimport malloc from obitools3.apps.progress cimport ProgressBar # @UnresolvedImport +from obitools3.version import version from ..capi.obiview cimport Alias_column_pair_p, \ obi_new_view, \ @@ -434,6 +435,7 @@ cdef class View(OBIWrapper) : for i in range(len(input_view_name)): input_str.append(tostr(input_dms_name[i])+"/"+tostr(input_view_name[i])) comments["input_str"] = input_str + comments["version"] = version return bytes2str_object(comments)