Download tests/test_simulate_variants_script.py from vedatonuryilmaz/deepgenopix: direct link, hf CLI and curl.
- Browser
- Download file 652 Bytes
-
https://huggingface.co/vedatonuryilmaz/deepgenopix/resolve/main/tests/test_simulate_variants_script.py
- Command line
-
hf download hf://vedatonuryilmaz/deepgenopix/tests/test_simulate_variants_script.py
-
curl -L -o test_simulate_variants_script.py https://huggingface.co/vedatonuryilmaz/deepgenopix/resolve/main/tests/test_simulate_variants_script.py
652 Bytes
| from pathlib import Path | |
| SIMULATE_VARIANTS = Path("scripts/simulate_variants.sh").read_text() | |
| def test_simulate_variants_supports_hf_jobs_existing_checkout(): | |
| assert "DEEPGENOPIX_ALREADY_CLONED" in SIMULATE_VARIANTS | |
| assert "using existing DeepGenopix checkout" in SIMULATE_VARIANTS | |
| def test_simulate_variants_downloads_pinned_reference_parquet(): | |
| assert "REFERENCE_DATASET" in SIMULATE_VARIANTS | |
| assert "REFERENCE_REVISION" in SIMULATE_VARIANTS | |
| assert "f107d46c5a61087eb3fb19b4e3e75fdef0b74fdd" in SIMULATE_VARIANTS | |
| assert "hf_hub_download" in SIMULATE_VARIANTS | |
| assert "filename='$REFERENCE_FILE'" in SIMULATE_VARIANTS | |