From 7d4867922beabf51d5898e6a5af41e9a8a2dd261 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Fri, 22 Oct 2021 12:00:50 +0200 Subject: [PATCH] Add eko version to output metadata --- src/eko/output.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/eko/output.py b/src/eko/output.py index 99dd9c6d7..9c28b32f1 100644 --- a/src/eko/output.py +++ b/src/eko/output.py @@ -15,7 +15,7 @@ import yaml from . import basis_rotation as br -from . import interpolation +from . import interpolation, version logger = logging.getLogger(__name__) @@ -290,9 +290,7 @@ def get_raw(self, binarize=True, skip_q2_grid=False): dictionary which will be written on output """ # prepare output dict - out = { - "Q2grid": {}, - } + out = {"Q2grid": {}, "eko_version": version.full_version} # dump raw elements for f in [ "interpolation_polynomial_degree",