bug fix: copy/paste (don't do it)

This commit is contained in:
Steve Nyemba 2021-02-16 18:57:59 -06:00
parent 2821d89f8e
commit 26f40107fc
2 changed files with 3 additions and 3 deletions

View File

@ -576,8 +576,8 @@ class Parser (Process):
# claim = merger.merge(claim,self.apply(_toprows,_code)) # claim = merger.merge(claim,self.apply(_toprows,_code))
# claims.append(dict(DEFAULT_VALUE,**claim)) # claims.append(dict(DEFAULT_VALUE,**claim))
schema = {"properties":{}} schema = {"properties":{}}
for attr in _claim.keys() : for attr in claim.keys() :
schema['properties'][attr] = {"mergeStrategy": "append" if type(_claim[attr]) == list else "overwrite" } schema['properties'][attr] = {"mergeStrategy": "append" if type(claim[attr]) == list else "overwrite" }
_baseclaim = None _baseclaim = None
_baseclaim = merger.merge(_baseclaim,copy.deepcopy(DEFAULT_VALUE)) _baseclaim = merger.merge(_baseclaim,copy.deepcopy(DEFAULT_VALUE))

View File

@ -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.22", "name":"healthcareio","version":"1.6.2.24",
"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,