diff --git a/pori_python/graphkb/util.py b/pori_python/graphkb/util.py index 1c6a13c..a42695f 100644 --- a/pori_python/graphkb/util.py +++ b/pori_python/graphkb/util.py @@ -3,8 +3,8 @@ import hashlib import json -import os import logging +import os import re import time from datetime import datetime diff --git a/pori_python/ipr/connection.py b/pori_python/ipr/connection.py index 666f664..d85ebf7 100644 --- a/pori_python/ipr/connection.py +++ b/pori_python/ipr/connection.py @@ -138,7 +138,6 @@ def check_status(interval: int = 5, num_attempts: int = 5): ]: raise Exception(f"async report upload in unexpected state: {check_result}") - return current_status current_status = check_status() diff --git a/pori_python/ipr/inputs.py b/pori_python/ipr/inputs.py index 0894515..5271dbe 100644 --- a/pori_python/ipr/inputs.py +++ b/pori_python/ipr/inputs.py @@ -20,8 +20,8 @@ IprVariant, ) -from .util import hash_key, logger, pandas_falsy from .constants import DEFAULT_URL +from .util import hash_key, logger, pandas_falsy protein_letters_3to1.setdefault("Ter", "*") diff --git a/tests/test_graphkb/test_match.py b/tests/test_graphkb/test_match.py index babdbd8..175c7b1 100644 --- a/tests/test_graphkb/test_match.py +++ b/tests/test_graphkb/test_match.py @@ -42,7 +42,7 @@ def kras(conn): return [f["displayName"] for f in match.get_equivalent_features(conn, "kras")] -""" +""" version found in the db for ENSG00000133703 will vary depending on which version of ensembl was loaded. checking for any . version """