Merged in hotfix/plan_state (pull request #267)

plan state hotfix

* updated state_check function

* added a wrapper function apply_state_check_to_df function to enable state_check function to work with dataframe and also wrote unit tests for both the functions.

* Merged main into hotfix/plan_state

* append extra column with new health plan state corrected

* Merge remote-tracking branch 'refs/remotes/origin/hotfix/plan_state' into hotfix/plan_state

* fix tests

* move apply_state_check_to_df() to cnc_hotfix.py

* move all functionality out of utils and into cnc_hotfix.py

* Merge remote-tracking branch 'origin/main' into hotfix/plan_state

* remove duplicated pythonpath in pyproject.toml

* format cnc_hotfix.py

* changed to use valid.STATE_MAP to not duplicate functionality


Approved-by: Katon Minhas
This commit is contained in:
Alex Galarce
2024-11-13 20:12:40 +00:00
parent 1098be5cf5
commit 001c2e45b5
3 changed files with 301 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ target-version = ['py312']
disable_error_code = ["import-untyped","assignment","name-defined","call-arg","var-annotated","attr-defined","arg-type"]
[tool.pytest.ini_options]
pythonpath=["src"]
testpaths = [
"tests"
]
pythonpath = ["src"]