diff --git a/ranker/server.py b/ranker/server.py index ecbf977..8094921 100644 --- a/ranker/server.py +++ b/ranker/server.py @@ -16,7 +16,7 @@ from ranker.util.omnicorp_get_node_pmids import get_node_pmids # set the app version -APP_VERSION = '3.3.2' +APP_VERSION = '3.3.3' APP = FastAPI(title='ARAGORN Ranker', version=APP_VERSION) diff --git a/ranker/shared/ranker_obj.py b/ranker/shared/ranker_obj.py index 85fcc8f..ac5b5a5 100644 --- a/ranker/shared/ranker_obj.py +++ b/ranker/shared/ranker_obj.py @@ -489,8 +489,8 @@ def get_edge_values(self, edge_id): # Look through attributes and for attribute in edge.get("attributes", []): - orig_attr_name = attribute.get("original_attribute_name", None) - attr_type_id = attribute.get("attribute_type_id", None) + orig_attr_name = attribute.get("original_attribute_name", '') + attr_type_id = attribute.get("attribute_type_id", '') # We will look at both the original_attribute_name and the # attribute_type_id. The attribute_type_id is the real method