generated from opensafely/research-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
31 lines (26 loc) · 811 Bytes
/
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
version: '3.0'
expectations:
population_size: 1000
actions:
generate_cohorts:
run: cohortextractor:latest generate_cohort --study-definition study_definition
outputs:
highly_sensitive:
cohort: output/input.csv
run_model:
run: stata-mp:latest analysis/model.do
needs: [generate_cohorts]
outputs:
moderately_sensitive:
log: logs/model.log
run_all:
needs:
- run_model
# In order to be valid this action needs to define a run commmand and some
# output. We don't really care what these are but the below does the trick.
# In a future release of the platform, this special action won't need to be
# defined at all.
run: cohortextractor:latest --version
outputs:
moderately_sensitive:
whatever: project.yaml