Skip to content

Commit

Permalink
Remove usage of deprecated code (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt authored Dec 2, 2024
1 parent 13a7199 commit a8253f5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dependencies = [
"bioversions>=0.5.561",
"bioregistry>=0.11.23",
"bioontologies>=0.5.2",
"zenodo-client>=0.0.5",
"zenodo-client>=0.3.6",
"class_resolver",
"psycopg2-binary",
"pydantic>=2.0",
Expand Down
54 changes: 0 additions & 54 deletions tests/test_extract.py

This file was deleted.

12 changes: 0 additions & 12 deletions tests/test_struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,18 +317,6 @@ def test_alt(self) -> None:
term.iterate_obo_lines(ontology_prefix="go", typedefs={RO_DUMMY.pair: RO_DUMMY}),
)

term = Term(LYSINE_DEHYDROGENASE_ACT)
term.append_alt("1234569")
self.assert_lines(
"""\
[Term]
id: GO:0050069
name: lysine dehydrogenase activity
alt_id: GO:1234569
""",
term.iterate_obo_lines(ontology_prefix="go", typedefs={RO_DUMMY.pair: RO_DUMMY}),
)

def test_append_synonym(self) -> None:
"""Test appending a synonym."""
term = Term(LYSINE_DEHYDROGENASE_ACT)
Expand Down

0 comments on commit a8253f5

Please sign in to comment.