diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 61cb10cd..bab55e72 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -22,7 +22,7 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.2.2 + version: 1.3.2 virtualenvs-in-project: true - name: Install dependencies run: poetry install --only docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c74f90f..fea18e0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.2.2 + version: 1.3.2 virtualenvs-in-project: true - name: Load cached venv id: cached-poetry-dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 33c2cecf..225aa03d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,7 +66,7 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.2.2 + version: 1.3.2 virtualenvs-in-project: true - name: Load cached venv id: cached-poetry-dependencies @@ -110,7 +110,7 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.2.2 + version: 1.3.2 virtualenvs-in-project: true - name: Install dependencies run: poetry install --only docs diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99e9ec32..b70594ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: hooks: - id: black - repo: https://github.com/adamchainz/blacken-docs - rev: "1.13.0" + rev: "v1.12.1" hooks: - id: blacken-docs - repo: https://github.com/pycqa/flake8 diff --git a/README.md b/README.md index deebb613..6e0dfa8e 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ pip install edsteva We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/). ``` -pip install edsteva==0.1.3 +pip install edsteva==0.1.4 ``` ## Example diff --git a/changelog.md b/changelog.md index 21c037d9..98b2b5e6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## v0.1.4 - 02-02-2023 +- ConditionProbe: Take UF and Pole into account for ORBIS source system. +- Binder: Presentation available. ## v0.1.3 - 22-12-2022 - ConditionProbe: Update, computed as a proportion of number of visit. diff --git a/docs/components/model.md b/docs/components/model.md index f7a43ea5..5982f214 100644 --- a/docs/components/model.md +++ b/docs/components/model.md @@ -98,9 +98,9 @@ If none of the available Models meets your requirements, you may want to create from edsteva.models import BaseModel from edsteva.probes import BaseProbe + # Definition of a new Model class class CustomProbe(BaseModel): - _coefs = ["my_model_coefficient_1", "my_model_coefficient_2"] def fit_process(self, probe: BaseProbe): diff --git a/docs/components/probe.md b/docs/components/probe.md index 6dadbc3d..0e305610 100644 --- a/docs/components/probe.md +++ b/docs/components/probe.md @@ -101,9 +101,9 @@ If none of the available Probes meets your requirements, you may want to create ```python from edsteva.probes import BaseProbe + # Definition of a new Probe class class CustomProbe(BaseProbe): - _index = ["my_custom_column_1", "my_custom_column_2"] def compute_process(self, data: Data): diff --git a/docs/index.md b/docs/index.md index 50923165..8fd085c0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -98,7 +98,7 @@ color:green Successfully installed edsteva We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/). ``` -pip install edsteva==0.1.3 +pip install edsteva==0.1.4 ``` ## Working example: administrative records relative to visits diff --git a/edsteva/__init__.py b/edsteva/__init__.py index da5a28b2..97aa47c6 100644 --- a/edsteva/__init__.py +++ b/edsteva/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.1.3" +__version__ = "0.1.4" import importlib diff --git a/pyproject.toml b/pyproject.toml index 1520ef9a..de3d6dc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "edsteva" -version = "0.1.3" +version = "0.1.4" description = "EDS-TeVa provides a set of tools that aims at modeling the adoption over time and across space of the Electronic Health Records." authors = ["Adam Remaki ", "Vicent Maladiere ", "Benoit Playe ", "Romain Bey ", "Paul Bernard "] keywords = ["OMOP", "Data Analysis", "Electronic health record"]