Skip to content

Commit 7be0ed9

Browse files
authored
refactor: use depends-on instead of depends_on (#3561)
1 parent ecd40df commit 7be0ed9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pixi.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ libc = { family="glibc", version="2.30" }
1111
# || operator in pixi allows running a command after only if the command before || fails
1212
tcnn-install = "python -c 'import tinycudann as tcnn' || python -m pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch"
1313
make-third_party-dir = {cmd="ls third_party || mkdir third_party"}
14-
clone-hloc = {cmd="ls Hierarchical-Localization || git clone --recursive https://github.com/cvg/Hierarchical-Localization/", cwd = "third_party", depends_on=["make-third_party-dir"] }
15-
hloc-install = {cmd="python -m pip install -e .", cwd = "third_party/Hierarchical-Localization" , depends_on=["clone-hloc"], outputs=["third_party/Hierarchical-Localization/hloc.egg-info/PKG-INFO"]}
16-
post-install = {cmd="pwd", depends_on=["hloc-install", "tcnn-install"]}
14+
clone-hloc = {cmd="ls Hierarchical-Localization || git clone --recursive https://github.com/cvg/Hierarchical-Localization/", cwd = "third_party", depends-on=["make-third_party-dir"] }
15+
hloc-install = {cmd="python -m pip install -e .", cwd = "third_party/Hierarchical-Localization" , depends-on=["clone-hloc"], outputs=["third_party/Hierarchical-Localization/hloc.egg-info/PKG-INFO"]}
16+
post-install = {cmd="pwd", depends-on=["hloc-install", "tcnn-install"]}
1717

1818
download-dozer-data = {cmd="ls data/nerfstudio/dozer || ns-download-data nerfstudio --capture-name dozer"}
19-
train-example-splat = {cmd="ns-train splatfacto --data data/nerfstudio/dozer/", depends_on=["post-install", "download-dozer-data"]}
20-
train-example-nerf = {cmd="ns-train nerfacto --data data/nerfstudio/dozer/", depends_on=["post-install", "download-dozer-data"]}
19+
train-example-splat = {cmd="ns-train splatfacto --data data/nerfstudio/dozer/", depends-on=["post-install", "download-dozer-data"]}
20+
train-example-nerf = {cmd="ns-train nerfacto --data data/nerfstudio/dozer/", depends-on=["post-install", "download-dozer-data"]}
2121

2222

2323
[dependencies]

0 commit comments

Comments
 (0)