From 7e03df5ec6b640fce4786676e4e7ecf3cc3919f9 Mon Sep 17 00:00:00 2001 From: Charity Hilton Date: Tue, 14 Dec 2021 11:45:32 -0500 Subject: [PATCH] fix typo error in phenotpe API --- nlp/apis/phenotype_apis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlp/apis/phenotype_apis.py b/nlp/apis/phenotype_apis.py index 1331e9ff..60b11a1c 100644 --- a/nlp/apis/phenotype_apis.py +++ b/nlp/apis/phenotype_apis.py @@ -108,7 +108,7 @@ def nlpql(): # return 'Tuple syntax error' nlpql_results = run_nlpql_parser(raw_nlpql) - t + if nlpql_results['has_errors'] or nlpql_results['has_warnings']: return json.dumps(nlpql_results) else: