-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
54 lines (37 loc) · 1.32 KB
/
justfile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
build:
cargo build -p ferritin-core -p ferritin-pymol -p ferritin-bevy
# convert all PSEs to msvj folders
convert: build
for file in docs/examples/*.pse; do \
./target/debug/ferritin-pymol --psefile "$file" --outputdir "${file%.*}"; \
done
docs: convert
# generate and copy rust docs
cargo doc --workspace --no-deps
cp -r target/doc/ docs/doc
# quarto
quarto render docs
serve: docs
quarto preview docs
clean:
cargo clean -p ferritin-core -p ferritin-pymol -p ferritin-bevy
cargo clean --doc
rm -rf docs/doc/
rm -rf docs/examples/example
# cargo install cargo-edit
upgrade:
cargo upgrade
test:
cargo test
test-full:
cargo test -- --include-ignored
amplify:
cargo run --example amplify
amplify-example-01:
cargo run --example amplify --features metal -- --model-id 350M --protein-string \
MAFSAEDVLKEYDRRRRMEALLLSLYYPNDRKLLDYKEWSPPRVQVECPKAPVEWNNPPSEKGLIVGHFSGIKYKGEKAQASEVDVNKMCCWVSKFKDAMRRYQGIQTCKIPGKVLSDLDAKIKAYNLTVEGVEGFVRYSRVTKQHVAAFLKELRHSKQYENVNLIHYILTDKRVDIQHLEKDLVKDFKALVESAHRMRQGHMINVKYILYQLLKKHGHGPDGPDILTVKTGSKGVLYDDSFRKIYTDLGWKFTPL
test-ligandmpnn:
cargo test --features metal -p ferritin-ligandmpnn test_cli_command_run_example_06 -- --nocapture
esmc:
#RUST_BACKTRACE=1 cargo run --example esmc
cargo run --example esmc