phenotypic.sdk_.resolve_study_db_path#
- phenotypic.sdk_.resolve_study_db_path(output_dir: Path) Path[source]#
Return the study DB that exists, preferring
.pht-tune-cache/.Read-only resolver: a relocated run keeps
study.dbunder the hidden tune cache; a legacy run kept it at the output root. Falls back to the new location when neither exists (so a cold sampler restart from a missingstudy.dbis harmless — no migration is performed).