Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: depend on ctakes 1.1.1 #310

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- etl-gpu

ctakes-covid-base:
image: smartonfhir/ctakes-covid:1.1.0
image: smartonfhir/ctakes-covid:1.1.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very tight pinning, I know. And maybe it should just be 1.1? But I also kind of like how paranoid it is. Open to thoughts.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm ok in this case since its unlikely to change, and we always want to run latest.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're OK with what? 1.1 or the paranoia?

While we always want to run the latest, if there's every any change that can affect the results from cTAKES, we need to bump some task version numbers in every task that uses cTAKES.

So like, I wouldn't want to use just 1 or latest as the tag. And I went extra paranoid by also wanting to consider every patch release for possible changes. Which is maybe too much, since we are co-maintainers of that docker image and can enforce semantic versioning. But only co-maintainers...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(we need to bump task version numbers to (a) reset any existing ctakes caches you may have and (b) flag new task results so you can track which bits need to be re-run with the new NLP changes)

environment:
- ctakes_umlsuser=umls_api_key
- ctakes_umlspw=$UMLS_API_KEY
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 @@
"""Cumulus public entry point"""

__version__ = "1.1.0"
__version__ = "1.1.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a coincidence that this lined up like this, I didn't just do a search and replace 😄

2 changes: 1 addition & 1 deletion cumulus_etl/etl/studies/covid_symptom/covid_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class BaseCovidSymptomNlpResultsTask(tasks.BaseNlpTask):
task_version = 4
# Task Version History:
# ** 4 (2024-01): Fixed bug preventing our cTAKES symptoms file from having any effect **
# cTAKES: smartonfhir/ctakes-covid:1.1.0
# cTAKES: smartonfhir/ctakes-covid:1.1.[01]
# cNLP: smartonfhir/cnlp-transformers:negation-0.6.1
# cNLP: smartonfhir/cnlp-transformers:termexists-0.6.1
# ctakesclient: 5.0
Expand Down
Loading