diff --git a/src/phenotype2phenopacket/utils/phenopacket_utils.py b/src/phenotype2phenopacket/utils/phenopacket_utils.py index 147b0b4..540e258 100644 --- a/src/phenotype2phenopacket/utils/phenopacket_utils.py +++ b/src/phenotype2phenopacket/utils/phenopacket_utils.py @@ -11,8 +11,6 @@ import polars as pl from google.protobuf.timestamp_pb2 import Timestamp from oaklib.implementations import ProntoImplementation -from pheval.utils.phenopacket_utils import GeneIdentifierUpdater, create_json_message - from phenopackets import ( Age, Diagnosis, @@ -28,6 +26,8 @@ Resource, TimeElement, ) +from pheval.utils.phenopacket_utils import GeneIdentifierUpdater, create_json_message + from phenotype2phenopacket.utils.utils import is_float diff --git a/tests/test_phenopacket_utils.py b/tests/test_phenopacket_utils.py index 7534ae1..9a2059c 100644 --- a/tests/test_phenopacket_utils.py +++ b/tests/test_phenopacket_utils.py @@ -3,13 +3,6 @@ from unittest.mock import Mock, patch import polars as pl -from pheval.utils.phenopacket_utils import ( - GeneIdentifierUpdater, - create_gene_identifier_map, - create_hgnc_dict, -) -from polars.testing import assert_frame_equal - from phenopackets import ( Age, Diagnosis, @@ -26,6 +19,13 @@ Resource, TimeElement, ) +from pheval.utils.phenopacket_utils import ( + GeneIdentifierUpdater, + create_gene_identifier_map, + create_hgnc_dict, +) +from polars.testing import assert_frame_equal + from phenotype2phenopacket.utils.phenopacket_utils import ( OnsetTerm, PhenopacketInterpretationExtender,