Skip to content

Commit

Permalink
Add eko version to output metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Oct 22, 2021
1 parent 4605086 commit 7d48679
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/eko/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import yaml

from . import basis_rotation as br
from . import interpolation
from . import interpolation, version

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 7d48679

Please sign in to comment.