Skip to content

Commit

Permalink
build: bump version to 2.0
Browse files Browse the repository at this point in the history
And remove deprecated chart-review alias for upload-notes, since this
is a good time to break CLI promises.
  • Loading branch information
mikix committed Oct 29, 2024
1 parent a64c1f8 commit 3c97d2f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
10 changes: 0 additions & 10 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ services:
ctakes-covid:
extends: ctakes-covid-base
profiles:
# chart-review is a deprecated alias for upload-notes since Jan 2024.
# Remove when you feel like it.
- chart-review
- chart-review-gpu
- covid-symptom
- covid-symptom-gpu
- upload-notes
Expand All @@ -93,9 +89,6 @@ services:
extends: common-base
image: smartonfhir/cnlp-transformers:negation-0.6.1-cpu
profiles:
# chart-review is a deprecated alias for upload-notes since Jan 2024.
# Remove when you feel like it.
- chart-review
- covid-symptom
- upload-notes
networks:
Expand All @@ -105,9 +98,6 @@ services:
extends: common-base
image: smartonfhir/cnlp-transformers:negation-0.6.1-gpu
profiles:
# chart-review-gpu is a deprecated alias for upload-notes-gpu since Jan 2024.
# Remove when you feel like it.
- chart-review-gpu
- covid-symptom-gpu
- upload-notes-gpu
networks:
Expand Down
2 changes: 1 addition & 1 deletion cumulus_etl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Turns FHIR data into de-identified & aggregated records"""

__version__ = "1.5.0"
__version__ = "2.0.0"
6 changes: 1 addition & 5 deletions cumulus_etl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
class Command(enum.Enum):
"""Subcommand strings"""

# chart-review is a deprecated alias of upload-notes since Jan 2024.
# Keep as long as you like.
# It's a low-usage feature, but it's not a maintenance burden to keep this around.
CHART_REVIEW = "chart-review"
CONVERT = "convert"
ETL = "etl"
EXPORT = "export"
Expand Down Expand Up @@ -65,7 +61,7 @@ async def main(argv: list[str]) -> None:
prog += f" {subcommand}" # to make --help look nicer
parser = argparse.ArgumentParser(prog=prog)

if subcommand in {Command.CHART_REVIEW.value, Command.UPLOAD_NOTES.value}:
if subcommand == Command.UPLOAD_NOTES.value:
run_method = upload_notes.run_upload_notes
elif subcommand == Command.CONVERT.value:
run_method = convert.run_convert
Expand Down

0 comments on commit 3c97d2f

Please sign in to comment.