Skip to content

Commit

Permalink
Revert "allow specification of gene identifier"
Browse files Browse the repository at this point in the history
This reverts commit b4f2d31.
  • Loading branch information
yaseminbridges committed Nov 13, 2024
1 parent bada320 commit 6cca38e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/phenotype2phenopacket/utils/phenopacket_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -28,6 +26,8 @@
Resource,
TimeElement,
)
from pheval.utils.phenopacket_utils import GeneIdentifierUpdater, create_json_message

from phenotype2phenopacket.utils.utils import is_float


Expand Down
14 changes: 7 additions & 7 deletions tests/test_phenopacket_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 6cca38e

Please sign in to comment.