generated from opensafely/sro-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.yaml
38 lines (30 loc) · 1.25 KB
/
project.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.0'
expectations:
population_size: 10000
actions:
generate_study_population:
run: cohortextractor:latest generate_cohort --study-definition study_definition --index-date-range "2021-06-01 to 2021-12-01 by month" --output-dir=output
outputs:
highly_sensitive:
cohort: output/input_*.csv
create_notebook:
run: python:latest python analysis/create_notebook.py
outputs:
moderately_sensitive:
notebook: notebooks/Test_Notebook.ipynb
create_notebook_numeric:
run: python:latest python analysis/create_notebook_numeric_value_checks.py
outputs:
moderately_sensitive:
notebook: notebooks/Notebook_numeric_values_*.ipynb
# generate_notebook:
# run: jupyter:latest jupyter nbconvert /workspace/analysis/SRO_Notebook.ipynb --execute --to html --output-dir=/workspace/output/joined --ExecutePreprocessor.timeout=86400 --no-input
# needs: [create_notebook, calculate_rates, generate_study_population_practice_count]
# outputs:
# moderately_sensitive:
# notebook: output/joined/SRO_Notebook.html
# run_tests:
# run: python:latest python -m pytest --junit-xml=output/pytest.xml --verbose
# outputs:
# moderately_sensitive:
# log: output/pytest.xml