diff --git a/scripts/register_missing_combiner_analysis.py b/scripts/register_missing_combiner_analysis.py index 95743f9f7..ff5550596 100644 --- a/scripts/register_missing_combiner_analysis.py +++ b/scripts/register_missing_combiner_analysis.py @@ -10,7 +10,7 @@ from hail.vds import read_vds from cpg_utils import to_path -from cpg_utils.hail_batch import init_batch +from cpg_utils.hail_batch import dataset_path, init_batch from metamist.apis import AnalysisApi from metamist.models import Analysis, AnalysisStatus @@ -24,7 +24,7 @@ def get_sg_ids(vds: str) -> list[str]: Returns: list[str]: A list of sequencing group IDs. """ - return read_vds(to_path(vds)).variant_data.s.collect() + return read_vds(to_path(dataset_path(vds))).variant_data.s.collect() def main(vds: str, dataset: str):