Download construction/tests/conftest.py from HFMI-PROFOUND/BILBY-PRO: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/datasets/HFMI-PROFOUND/BILBY-PRO/resolve/main/construction/tests/conftest.py
- Command line
-
hf download hf://datasets/HFMI-PROFOUND/BILBY-PRO/construction/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/datasets/HFMI-PROFOUND/BILBY-PRO/resolve/main/construction/tests/conftest.py
398 Bytes
| # Copyright 2026 Emile de Bruyn | |
| # SPDX-License-Identifier: Apache-2.0 | |
| import sys | |
| from pathlib import Path | |
| import pytest | |
| # Make the project package importable when running tests from the repo root. | |
| sys.path.insert(0, str(Path(__file__).resolve().parents[1])) | |
| def tmp_pdb_dir(tmp_path: Path): | |
| """A temporary directory in which we can write tiny PDBs.""" | |
| return tmp_path | |