Skip to content

Commit

Permalink
Fix CI/CD and release (#16)
Browse files Browse the repository at this point in the history
* Fix pre-commit

* Release 0.1.4
  • Loading branch information
Aremaki authored Feb 2, 2023
1 parent b850630 commit 3f20da3
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/components/model.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion docs/components/probe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion edsteva/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.3"
__version__ = "0.1.4"


import importlib
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Vicent Maladiere <[email protected]>", "Benoit Playe <[email protected]>", "Romain Bey <[email protected]>", "Paul Bernard <[email protected]>"]
keywords = ["OMOP", "Data Analysis", "Electronic health record"]
Expand Down

0 comments on commit 3f20da3

Please sign in to comment.