Skip to content
Snippets Groups Projects
Commit 73d5309b authored by Daniel Speckhard's avatar Daniel Speckhard
Browse files

fixed array add values to rewrite values using override flag.

parent e23633c0
Branches
Tags
No related merge requests found
from __future__ import print_function
from future import standard_library
standard_library.install_aliases()
from enum import Enum
from operator import itemgetter
from builtins import range
from builtins import object
from builtins import str
import numpy as np
import logging
from collections import defaultdict
standard_library.install_aliases()
class ParserEvent(Enum):
"""Enumerations for the different parser events when traversing the
......@@ -261,7 +261,6 @@ class LocalBackend(object):
pass
#===============================================================================
class Results(object):
"""A wrapper object for the collection of results gathered by a parser.
"""
......@@ -646,7 +645,7 @@ class SectionManager(object):
else:
gI = gIndex
try:
self.openSections[gI].addArrayValues(valueMetaInfo, value)
self.openSections[gI].addArrayValues(valueMetaInfo, value, **kwargs)
except (KeyError, IndexError):
raise Exception("Cannot add array values for metadata %s to section %d (%d) of %s, as it is not open" % (valueMetaInfo.name, gI, gIndex, self.metaInfo.name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment