Skip to content

Commit

Permalink
Cleanup AVL PI-RADS score notation (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeranbosma authored Oct 28, 2024
1 parent d2f3903 commit 72f6891
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build . --tag dragon_prep:latest --tag dragon_prep:v0.2.4
docker build . --tag dragon_prep:latest --tag dragon_prep:v0.2.5
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
long_description = fh.read()

setuptools.setup(
version='0.2.4',
version='0.2.5',
author_email='[email protected]',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
3 changes: 3 additions & 0 deletions src/dragon_prep/prepare_avl.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def prepare_avl_radiology_reports(input_dir: Path) -> pd.DataFrame:
# merge with radiology reports
df["text"] = df["uid"].map(df_reports["text"].to_dict())

# cleanup pirads lesions notation
df["pirads_lesions"] = df["pirads_lesions"].str.replace(".", ",")

return df


Expand Down
2 changes: 1 addition & 1 deletion tests/development-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ AutoPEP8 for formatting (this can be done automatically on save, see e.g. https:
# Push release to PyPI
1. Increase version in setup.py, and set below
2. Build: `python -m build`
3. Distribute package to PyPI: `python -m twine upload dist/*0.2.4*`
3. Distribute package to PyPI: `python -m twine upload dist/*0.2.5*`

0 comments on commit 72f6891

Please sign in to comment.