Skip to content

Commit

Permalink
fix: remove therapy references (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Jul 28, 2023
1 parent 08f23f1 commit 58e3832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions disease/etl/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _http_download(
file requires additional action, e.g. it's a zip file.
"""
if handler:
dl_path = Path(tempfile.gettempdir()) / "therapy_dl_tmp"
dl_path = Path(tempfile.gettempdir()) / "disease_dl_tmp"
else:
dl_path = outfile_path
# use stream to avoid saving download completely to memory
Expand Down Expand Up @@ -177,7 +177,7 @@ def _extract_data(self, use_existing: bool = False) -> None:
f"Unable to parse version value from {src_name} source data file "
f"located at {self._data_file.absolute().as_uri()} -- "
"check filename against schema defined in README: "
"https://github.com/cancervariants/therapy-normalization#update-sources" # noqa: E501
"https://github.com/cancervariants/disease-normalization#adding-and-refreshing-data" # noqa: E501
)
else:
self._data_file = self._get_latest_data_file()
Expand Down
2 changes: 1 addition & 1 deletion disease/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def search(
def normalize(q: str = Query(..., description=merged_q_descr)):
"""Return strongest-match normalized concept for query string provided by
user.
:param q: therapy search term
:param q: disease search term
"""
try:
response = query_handler.normalize(q)
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_query.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Test the therapy querying method."""
"""Test the disease querying method."""
from datetime import datetime

import pytest
Expand Down

0 comments on commit 58e3832

Please sign in to comment.