From d3b653b8cdfce1255e6707bae4c28f5515a0f22c Mon Sep 17 00:00:00 2001 From: Alex Stuckey Date: Mon, 4 Nov 2024 14:09:42 +1300 Subject: [PATCH] think i need dataset path --- scripts/register_missing_combiner_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):