File tree 4 files changed +64
-249
lines changed
4 files changed +64
-249
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ This repository contains schema definitions of some of the data models the Open
18
18
- ` molecular_interactions.json ` : definition of the [ molecular interactions] ( https://platform-docs.opentargets.org/target/molecular-interactions ) input.
19
19
- ` molecular_interactions-output.json ` : Definition for the molecular interactions dataset generated by the Platform ETL.
20
20
- ` gene-essentiality.json ` : definition of gene essentiality target annotation. Developed based on [ DepMap] ( https://depmap.org/ ) CRISPR/CAS9 screens.
21
+ - ` pharmacogenomics.json ` : definition of pharmacogenomics data model that hosts data from the [ PharmGKB] ( https://www.pharmgkb.org/ ) dataset.
21
22
22
23
## Dev environment set up
23
24
``` bash
24
25
# Clone the project
25
26
git clone https://github.com/opentargets/json_schema
26
27
cd json_schema
27
28
28
- # Install Poetry
29
- curl -sSL https://install.python-poetry.org | python -
29
+ # Install UV
30
+ curl -LsSf https://astral.sh/uv/ install.sh | sh
30
31
31
32
# Install the project dependencies
32
- poetry install
33
- poetry shell
33
+ uv pip install .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [tool . poetry ]
1
+ [project ]
2
2
name = " json-schema"
3
3
version = " 23.06.1"
4
4
description = " Schemas describing Open Targets data models"
5
- authors = [
" Open Targets Data Team < [email protected] > " ]
5
+ authors = [
{ name = " Open Targets Data Team" , email = " [email protected] " } ]
6
6
license = " Apache-2.0"
7
7
readme = " README.md"
8
- packages = [{include = " json_schema" }]
9
-
10
- [tool .poetry .dependencies ]
11
- python = " 3.8.15"
12
- pydantic = " ^1.10.7"
13
-
14
- [tool .poetry .group .dev .dependencies ]
15
- pytest = " ^7.3.1"
16
- mypy = " ^1.3.0"
8
+ requires-python = " >=3.10.4"
9
+ dependencies = [
10
+ " pydantic==1.10.7" ,
11
+ ]
17
12
18
13
[build-system ]
19
- requires = [" poetry-core" ]
20
- build-backend = " poetry.core.masonry.api"
14
+ requires = [" hatchling" ]
15
+ build-backend = " hatchling.build"
16
+
17
+ [tool .hatch .build .targets .wheel ]
18
+ packages = [" json_schema" ]
You can’t perform that action at this time.
0 commit comments