|
|
|
@ -154,7 +154,6 @@ def get_map(row,config,version):
|
|
|
|
|
|
|
|
|
|
for row_item in row :
|
|
|
|
|
value = get_map(row_item,config,version)
|
|
|
|
|
value['_index'] = len(object_value)
|
|
|
|
|
object_value.append(value)
|
|
|
|
|
#
|
|
|
|
|
# We need to add the index of the object it matters in determining the claim types
|
|
|
|
@ -290,7 +289,9 @@ def get_content(filename,config,section=None) :
|
|
|
|
|
if len(claim[label]) > 0 :
|
|
|
|
|
labels = []
|
|
|
|
|
for item in claim[label] :
|
|
|
|
|
item['_index'] = len(labels)
|
|
|
|
|
if item not in labels :
|
|
|
|
|
|
|
|
|
|
labels.append(item)
|
|
|
|
|
claim[label] = labels
|
|
|
|
|
# claim[label] = list( set(claim[label])) #-- removing redundancies
|
|
|
|
|