Skip to content

Commit

Permalink
fix(scripts): update changelog scripts
Browse files Browse the repository at this point in the history
- remove clean_cda_map_excel and link_synonym_ents_csv scripts since their functionality has been replaced by make_mapping_changelog
- fixes to make_mapping_changelog and make_diff_changelog to fix cypher errors
- changes to make_model_changelog to fix escaping quotes in entity attributes and track previously created entities to prevent duplication
- formatting changes to compare_models and compare_val_set_terms
- update versions of liquichange and bento-mdf dependencies
- changelog scripts now add Changesets with add_changeset method of Changelog.
- update poetry.lock
  • Loading branch information
nelsonwmoore committed Jul 17, 2023
1 parent 08c20be commit 9618573
Show file tree
Hide file tree
Showing 9 changed files with 1,256 additions and 1,402 deletions.
1,562 changes: 843 additions & 719 deletions python/poetry.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ numpy = {version = "^1.23.5", optional = true}
pandas = {version = "^1.5.2", optional = true}
spacy = {version = "^3.4.3", optional = true}
click = {version = "^8.1.3", optional = true}
liquichange = {version = "^0.1.0", optional = true}
liquichange = "^0.2.1"
bento-mdf = "^0.7.2"

[tool.poetry.extras]
Tools = ["click", "numpy", "pandas", "spacy", "liquichange"]
Expand All @@ -59,18 +60,16 @@ sphinx-autoapi = "^2.0.1"
sphinx-rtd-theme = "^1.1.1"
python-semantic-release = "^7.33.0"
pytest-cov = "^4.0.0"
liquichange = "^0.1.0"
liquichange = "^0.2.1"
sphinx = "5.3.0"
bento-mdf = "^0.7.2"

[tool.poetry.scripts]
"clean_cda_map_excel" = { reference = "scripts/clean_cda_map_excel.py", type = "file", extras = ["click", "numpy", "pandas"] }
"compare_models" = { reference = "scripts/compare_models.py", type = "file", extras = ["click", "spacy", "pandas"]}
"compare_val_set_terms" = { reference = "scripts/compare_val_set_terms.py", type = "file", extras = ["click", "pandas"] }
"link_synonym_ents_csv" = { reference = "scripts/link_synonym_ents_csv.py", type = "file", extras = ["click"] }
"make_model_changelog" = {reference = "scripts/make_model_changelog.py", type = "file", extras = ["liquichange"]}
"make_diff_changelog" = {reference = "scripts/make_diff_changelog.py", type = "file", extras = ["liquichange"]}
"make_mapping_changelog" = {reference = "scripts/make_mapping_changelog.py", type = "file", extras = ["liquichange"]}
"make_model_changelog" = {reference = "scripts/make_model_changelog.py", type = "file", extras = ["click", "liquichange"]}
"make_diff_changelog" = {reference = "scripts/make_diff_changelog.py", type = "file", extras = ["click", "liquichange"]}
"make_mapping_changelog" = {reference = "scripts/make_mapping_changelog.py", type = "file", extras = ["click", "liquichange"]}

[build-system]
requires = ["poetry-core"]
Expand Down
128 changes: 0 additions & 128 deletions python/scripts/clean_cda_map_excel.py

This file was deleted.

Loading

0 comments on commit 9618573

Please sign in to comment.