Skip to content

Commit 9b2ddfa

Browse files
committed
Use Calkit pipeline syntax
1 parent 42f0083 commit 9b2ddfa

1 file changed

Lines changed: 30 additions & 10 deletions

File tree

calkit.yaml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,36 @@ dependencies:
88
- conda
99
questions:
1010
- Can we make reproducibility simple?
11+
environments:
12+
py:
13+
path: environment.yml
14+
kind: conda
15+
description: A Python environment
16+
tex:
17+
kind: docker
18+
image: texlive/texlive:latest-full
19+
description: TeX Live via Docker.
20+
pipeline:
21+
collect-data:
22+
kind: python-script
23+
script_path: scripts/collect-data.py
24+
environment: py
25+
outputs:
26+
- data/raw/data.csv
27+
plot-voltage:
28+
kind: python-script
29+
script_path: scripts/plot-voltage.py
30+
environment: py
31+
inputs:
32+
- data/raw/data.csv
33+
outputs:
34+
- figures/voltage-time-series.png
35+
build-paper:
36+
kind: latex
37+
target_path: paper/paper.tex
38+
environment: tex
39+
outputs:
40+
- paper/paper.pdf
1141
datasets:
1242
- path: data/raw/data.csv
1343
title: Raw data
@@ -23,13 +53,3 @@ publications:
2353
title: The paper
2454
description: This is the paper.
2555
stage: build-paper
26-
environments:
27-
py:
28-
path: environment.yml
29-
kind: conda
30-
description: A Python environment
31-
tex:
32-
kind: docker
33-
image: texlive/texlive:latest-full
34-
wdir: /work
35-
description: TeX Live via Docker.

0 commit comments

Comments
 (0)