Skip to content

Commit

Permalink
fix: varfish cli 06x uses new import syntax (#220) (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolai-vKuegelgen authored Jan 26, 2024
1 parent 9619609 commit cb10dbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cubi_tk/snappy/varfish_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import glob
import os
import pathlib
from subprocess import check_call
import typing

from biomedsheets import shortcuts
from logzero import logger
from varfish_cli.__main__ import main as varfish_cli_main

from ..common import find_base_path
from .common import load_sheet_tsv
Expand Down Expand Up @@ -284,7 +284,7 @@ def _process_dataset(self, ds: DataSet):
answer = answer_str == "y"
if answer:
logger.info("Executing '%s'", " ".join(args))
varfish_cli_main(args[1:])
check_call(args)
logger.info(" -> all done with %s", name)


Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ argcomplete
pyyaml

# VarFish REST API client.
varfish-cli >=0.6.2,<=0.7.0
varfish-cli >=0.6.2,<0.7.0

# Compact, round-tripable configuration format.
toml
Expand Down

0 comments on commit cb10dbb

Please sign in to comment.