Skip to content

Commit

Permalink
try more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Stuckey committed Sep 9, 2024
1 parent bd1d274 commit 366e110
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions query_metamist.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from argparse import ArgumentParser
from typing import Any

from cpg_utils.config import get_config
from cpg_utils.hail_batch import Batch, command, get_batch, image_path, output_path
from cpg_utils.config import get_config, image_path, output_path
from cpg_utils.hail_batch import Batch, command, get_batch
from graphql import DocumentNode
from hailtop.batch.job import BashJob

Expand Down Expand Up @@ -36,7 +36,7 @@ def get_assays(project: str, sgids: list[str]) -> dict[str, list[str]]:
Returns:
dict: A dictionary where each key is a sequencing group ID and each value is a list of read locations for that sequencing group.
"""
sg_assay_map = {}
sg_assay_map: dict[str, list[str]] = {}

# Use the query template above to query the sequencing groups and assays
query_response: dict[str, Any] = query(
Expand Down Expand Up @@ -93,8 +93,6 @@ def main(project: str, sgids: list[str], last_name: str):
for sg, files in file_dict.items():
assert len(files) == 2

print(f"{sg}: {files}")

j: BashJob = b.new_job(name="FastQE", attributes={"tool": "fastqe"})
j.image(image_path("fastqe"))
j.storage("2Gi")
Expand Down

0 comments on commit 366e110

Please sign in to comment.