Skip to content

Commit

Permalink
think i need dataset path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Stuckey committed Nov 4, 2024
1 parent 64b1020 commit d3b653b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/register_missing_combiner_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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):
Expand Down

0 comments on commit d3b653b

Please sign in to comment.