bug fix -- no more synonyms
This commit is contained in:
parent
0bbcff95dc
commit
5ef1f31907
|
@ -290,7 +290,8 @@ class Parser (Process):
|
||||||
if type(value[objkey]) == dict :
|
if type(value[objkey]) == dict :
|
||||||
continue
|
continue
|
||||||
if 'syn' in config and value[objkey] in config['syn'] :
|
if 'syn' in config and value[objkey] in config['syn'] :
|
||||||
value[objkey] = config['syn'][ value[objkey]]
|
# value[objkey] = config['syn'][ value[objkey]]
|
||||||
|
pass
|
||||||
|
|
||||||
if key in rewrite :
|
if key in rewrite :
|
||||||
|
|
||||||
|
@ -309,7 +310,8 @@ class Parser (Process):
|
||||||
else:
|
else:
|
||||||
|
|
||||||
if 'syn' in config and value in config['syn'] :
|
if 'syn' in config and value in config['syn'] :
|
||||||
value = config['syn'][value]
|
# value = config['syn'][value]
|
||||||
|
pass
|
||||||
|
|
||||||
if type(value) == dict :
|
if type(value) == dict :
|
||||||
|
|
||||||
|
@ -513,7 +515,7 @@ class Parser (Process):
|
||||||
schema = [key for key in claim.keys() if type(claim[key]) == list]
|
schema = [key for key in claim.keys() if type(claim[key]) == list]
|
||||||
if schema :
|
if schema :
|
||||||
schema = {"properties":dict.fromkeys(schema,{"mergeStrategy":"append"})}
|
schema = {"properties":dict.fromkeys(schema,{"mergeStrategy":"append"})}
|
||||||
print (schema)
|
|
||||||
else:
|
else:
|
||||||
schema = {}
|
schema = {}
|
||||||
merger = jsonmerge.Merger(schema)
|
merger = jsonmerge.Merger(schema)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -8,7 +8,7 @@ import sys
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
args = {
|
args = {
|
||||||
"name":"healthcareio","version":"1.6.2.2",
|
"name":"healthcareio","version":"1.6.2.3",
|
||||||
"author":"Vanderbilt University Medical Center",
|
"author":"Vanderbilt University Medical Center",
|
||||||
"author_email":"steve.l.nyemba@vumc.org",
|
"author_email":"steve.l.nyemba@vumc.org",
|
||||||
"include_package_data":True,
|
"include_package_data":True,
|
||||||
|
|
Loading…
Reference in New Issue