From 46c54b03848e7648654708eff69e2815b610c701 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Mon, 8 Feb 2021 14:47:49 -0600 Subject: [PATCH] bug fix --- healthcareio/export/export.py | 4 ++-- healthcareio/healthcare-io.py | 1 + setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/healthcareio/export/export.py b/healthcareio/export/export.py index cc3a9e7..09e58c1 100644 --- a/healthcareio/export/export.py +++ b/healthcareio/export/export.py @@ -91,7 +91,7 @@ def meta(config) : _info += get_field(_entry) else: _info += list(_entry.keys()) - elif set(['label','field','map']) & set(config[prefix].keys()): + if set(['label','field','map']) & set(config[prefix].keys()): _entry = config[prefix] if 'map' in _entry : _info += get_field(_entry) @@ -111,7 +111,7 @@ def meta(config) : else : fields['rel'] = jsonmerge.merge(fields['rel'],row) - + return fields def create (**_args) : skip = [] if 'skip' not in _args else _args['skip'] diff --git a/healthcareio/healthcare-io.py b/healthcareio/healthcare-io.py index 4d13204..36bc6c6 100644 --- a/healthcareio/healthcare-io.py +++ b/healthcareio/healthcare-io.py @@ -393,6 +393,7 @@ if __name__ == '__main__' : # pipes[0].run() for thread in pipes: + if 'table' in SYS_ARGS and SYS_ARGS['table'] != thread.table : continue thread.start() diff --git a/setup.py b/setup.py index dbce51c..ec1756f 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.0", + "name":"healthcareio","version":"1.6.1", "author":"Vanderbilt University Medical Center", "author_email":"steve.l.nyemba@vumc.org", "include_package_data":True,