Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for missing attribute props #134

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ranker/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions ranker/shared/ranker_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading