Skip to content

Commit fe9f0f9

Browse files
committed
Use new style env-lock scheme
1 parent 81a97df commit fe9f0f9

6 files changed

Lines changed: 46 additions & 88 deletions

File tree

.calkit/env-locks/docker/amd64/tex.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

.calkit/env-locks/venvs/osx-arm64/py.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

dvc.lock

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,41 @@ stages:
33
collect-data:
44
cmd: calkit xenv -n py --no-check -- python scripts/collect-data.py
55
deps:
6-
- path: .calkit/env-locks/venvs/linux-64/py.txt
6+
- path: .calkit/env-locks/py
77
hash: md5
8-
md5: de96276868627f6d4aa908b2b4759a56
8+
md5: 97801bd5ad552a89970a09edb1bc525d.dir
99
size: 231
10+
nfiles: 1
1011
- path: scripts/collect-data.py
1112
hash: md5
1213
md5: eeab1328ac4a9df2ef2452d32c1e6cce
1314
size: 424
1415
outs:
1516
- path: data/raw/data.csv
1617
hash: md5
17-
md5: 3ec6df511ed8ebacdc436ce815ada1df
18-
size: 43628
18+
md5: 0e1fcf8330919e3e736ec3be03b7baa9
19+
size: 43613
1920
plot-voltage:
2021
cmd: calkit xenv -n py --no-check -- python scripts/plot-voltage.py
2122
deps:
22-
- path: .calkit/env-locks/venvs/linux-64/py.txt
23+
- path: .calkit/env-locks/py
2324
hash: md5
24-
md5: de96276868627f6d4aa908b2b4759a56
25+
md5: 97801bd5ad552a89970a09edb1bc525d.dir
2526
size: 231
27+
nfiles: 1
2628
- path: data/raw/data.csv
2729
hash: md5
28-
md5: 3ec6df511ed8ebacdc436ce815ada1df
29-
size: 43628
30+
md5: 0e1fcf8330919e3e736ec3be03b7baa9
31+
size: 43613
3032
- path: scripts/plot-voltage.py
3133
hash: md5
3234
md5: 087a567a0c0f6199a908399013d564a1
3335
size: 297
3436
outs:
3537
- path: figures/voltage-time-series.png
3638
hash: md5
37-
md5: a70b61dc033585fe2d3c16d63290a870
38-
size: 46210
39+
md5: 062d0b4f4e8087221204d12c1f594223
40+
size: 44207
3941
copy-figures-to-paper-dir:
4042
cmd: cp -r figures paper/figures
4143
deps:
@@ -51,17 +53,18 @@ stages:
5153
size: 45148
5254
nfiles: 2
5355
build-paper:
54-
cmd: calkit xenv -n tex --no-check -- latexmk -cd -norc
55-
-interaction=nonstopmode -silent -synctex=1 -pdf paper/paper.tex
56+
cmd: calkit xenv -n tex --no-check -- latexmk -cd -norc -interaction=nonstopmode
57+
-silent -synctex=1 -pdf paper/paper.tex
5658
deps:
57-
- path: .calkit/env-locks/docker/amd64/tex.json
59+
- path: .calkit/env-locks/tex
5860
hash: md5
59-
md5: af028316fd879fcf385e0838e3b7ad08
61+
md5: 2c552307edd59397026c9ef06dc8af47.dir
6062
size: 1171
63+
nfiles: 1
6164
- path: figures
6265
hash: md5
63-
md5: 70126dc2f9f61fb93c62eb50b55f13f1.dir
64-
size: 46235
66+
md5: 51682cce447229821989f677c23caa75.dir
67+
size: 44232
6568
nfiles: 2
6669
- path: paper/paper.tex
6770
hash: md5
@@ -70,11 +73,10 @@ stages:
7073
outs:
7174
- path: paper/paper.pdf
7275
hash: md5
73-
md5: 7069d28ed4063d3bec319c661681648a
74-
size: 98339
76+
md5: eddd55ddc8410adef45250b708b0947f
77+
size: 99255
7578
_check_env_py:
76-
cmd: calkit check conda-env --file environment.yml --output
77-
.calkit/env-locks/py.yml
79+
cmd: calkit check conda-env --file environment.yml --output .calkit/env-locks/py.yml
7880
deps:
7981
- path: environment.yml
8082
hash: md5
@@ -86,8 +88,7 @@ stages:
8688
md5: 8119fb42c7e8531010248790fff169cf
8789
size: 2200
8890
_check_env_tex:
89-
cmd: calkit check docker-env texlive/texlive:latest-full -o
90-
.calkit/env-locks/tex.json
91+
cmd: calkit check docker-env texlive/texlive:latest-full -o .calkit/env-locks/tex.json
9192
outs:
9293
- path: .calkit/env-locks/tex.json
9394
hash: md5
@@ -101,14 +102,16 @@ stages:
101102
md5: 2d0e401b7292d0d218bc567bfb37f9c7
102103
size: 24
103104
outs:
104-
- path: .calkit/env-locks/venvs/linux-64/py.txt
105+
- path: .calkit/env-locks/py
105106
hash: md5
106-
md5: de96276868627f6d4aa908b2b4759a56
107+
md5: 97801bd5ad552a89970a09edb1bc525d.dir
107108
size: 231
109+
nfiles: 1
108110
_check-env-tex:
109111
cmd: calkit check environment --name tex
110112
outs:
111-
- path: .calkit/env-locks/docker/amd64/tex.json
113+
- path: .calkit/env-locks/tex
112114
hash: md5
113-
md5: af028316fd879fcf385e0838e3b7ad08
115+
md5: 2c552307edd59397026c9ef06dc8af47.dir
114116
size: 1171
117+
nfiles: 1

dvc.yaml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,47 @@ stages:
44
deps:
55
- requirements.txt
66
outs:
7-
- .calkit/env-locks/venvs/linux-64/py.txt:
7+
- .calkit/env-locks/py:
88
cache: false
99
persist: true
1010
always_changed: true
11-
desc: Automatically generated by Calkit. Changes made here will be
12-
overwritten.
11+
desc: Automatically generated by Calkit. Changes made here will be overwritten.
1312
_check-env-tex:
1413
cmd: calkit check environment --name tex
1514
deps: []
1615
outs:
17-
- .calkit/env-locks/docker/amd64/tex.json:
16+
- .calkit/env-locks/tex:
1817
cache: false
1918
persist: true
2019
always_changed: true
21-
desc: Automatically generated by Calkit. Changes made here will be
22-
overwritten.
20+
desc: Automatically generated by Calkit. Changes made here will be overwritten.
2321
collect-data:
24-
cmd: calkit xenv -n py --no-check -- python
25-
scripts/collect-data.py
22+
cmd: calkit xenv -n py --no-check -- python scripts/collect-data.py
2623
deps:
2724
- scripts/collect-data.py
28-
- .calkit/env-locks/venvs/linux-64/py.txt
25+
- .calkit/env-locks/py
2926
outs:
3027
- data/raw/data.csv
31-
desc: Automatically generated from the 'collect-data' stage in
32-
calkit.yaml. Changes made here will be overwritten.
28+
desc: Automatically generated from the 'collect-data' stage in calkit.yaml.
29+
Changes made here will be overwritten.
3330
plot-voltage:
34-
cmd: calkit xenv -n py --no-check -- python
35-
scripts/plot-voltage.py
31+
cmd: calkit xenv -n py --no-check -- python scripts/plot-voltage.py
3632
deps:
3733
- scripts/plot-voltage.py
38-
- .calkit/env-locks/venvs/linux-64/py.txt
34+
- .calkit/env-locks/py
3935
- data/raw/data.csv
4036
outs:
4137
- figures/voltage-time-series.png
42-
desc: Automatically generated from the 'plot-voltage' stage in
43-
calkit.yaml. Changes made here will be overwritten.
38+
desc: Automatically generated from the 'plot-voltage' stage in calkit.yaml.
39+
Changes made here will be overwritten.
4440
build-paper:
45-
cmd: calkit xenv -n tex --no-check -- latexmk -cd -norc
46-
-interaction=nonstopmode -silent -synctex=1 -pdf paper/paper.tex
41+
cmd: calkit xenv -n tex --no-check -- latexmk -cd -norc -interaction=nonstopmode
42+
-silent -synctex=1 -pdf paper/paper.tex
4743
deps:
4844
- paper/paper.tex
4945
- figures
50-
- .calkit/env-locks/docker/amd64/tex.json
46+
- .calkit/env-locks/tex
5147
outs:
5248
- paper/paper.pdf
53-
desc: Automatically generated from the 'build-paper' stage in
54-
calkit.yaml. Changes made here will be overwritten.
49+
desc: Automatically generated from the 'build-paper' stage in calkit.yaml.
50+
Changes made here will be overwritten.

0 commit comments

Comments
 (0)