From a0db6831f123beff18a91e3db89c974124d6b48a Mon Sep 17 00:00:00 2001 From: tlitfin Date: Fri, 13 Mar 2026 12:32:43 +1100 Subject: [PATCH] use mol cache when tar archive missing --- src/boltz/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boltz/main.py b/src/boltz/main.py index 4a3750fec..270011e9d 100644 --- a/src/boltz/main.py +++ b/src/boltz/main.py @@ -207,7 +207,7 @@ def download_boltz2(cache: Path) -> None: # Download CCD mols = cache / "mols" tar_mols = cache / "mols.tar" - if not tar_mols.exists(): + if not (mols.exists() or tar_mols.exists()): click.echo( f"Downloading the CCD data to {tar_mols}. " "This may take a bit of time. You may change the cache directory "