From 661276e1efcac47b9d46adb5e19d3b75dcf648ca Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Mon, 27 Feb 2023 16:48:02 +0100 Subject: [PATCH] Clarify dependecy stuff in Python implementation --- model_development_python.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model_development_python.md b/model_development_python.md index 71165cd..64da763 100644 --- a/model_development_python.md +++ b/model_development_python.md @@ -110,7 +110,7 @@ dependencies = [ "pydantic", "pytz", "pandas", - "vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.1" + "vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.4" ] requires-python = ">=3.9" @@ -119,6 +119,7 @@ requires-python = ">=3.9" dev = ["pytest"] ``` +**NOTE: If you update the vipscore_common dependency in your .toml file, make sure to run `pip install -e .` again to get the update.** ### Make the package editable locally Create and activate a Python virtualenv for this project. This can be done outside or inside the project folder, just make sure that your IDE knows where to find it. If you create it inside the folder, the IDE may autodiscover it and suggest that it will use it as the default virtualenv in this project. @@ -152,7 +153,7 @@ class FungusPilosisFlavisModel(VIPSModel): COPYRIGHT = "(c) 2023 ACME Industries" ``` -Make sure you add the `__init__.py` file in the same folder as your module +**Make sure you add the `__init__.py` file in the same folder as your module** #### Create the method for finding when 500 day degrees has been passed To find out when 500 day degrees (since some date) have passed, you need -- GitLab