From 9960682d98b71b3e8e18fe8827c4e911caf7339c Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 10 Mar 2021 14:44:14 -0600 Subject: [PATCH] bug fix --- healthcareio/export/export.py | 9 +++++++++ setup.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/healthcareio/export/export.py b/healthcareio/export/export.py index a159c45..3aec84d 100644 --- a/healthcareio/export/export.py +++ b/healthcareio/export/export.py @@ -74,6 +74,15 @@ def meta(config) : """ _info = [] table_count = 1 + cached = {} + for prefix in config : + if 'cache' in config[prefix] : + _cache = config[prefix]['cache'] + field = _cache['field'] + key = _cache['key'] + if 'map' in config[key]: + config[key]['map'][field] = -100 + for prefix in config : # if 'map' in config[prefix] : # label = list(set(['label','field']) & set(config[prefix].keys())) diff --git a/setup.py b/setup.py index cd6b55c..1681e1c 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ import sys def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() args = { - "name":"healthcareio","version":"1.6.3.1", + "name":"healthcareio","version":"1.6.3.2", "author":"Vanderbilt University Medical Center", "author_email":"steve.l.nyemba@vumc.org", "include_package_data":True,