Skip to content

Commit

Permalink
env test for annotation cli tool
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmarzouk committed Nov 9, 2023
1 parent 91b8c68 commit 86fefe1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SOPRANO/utils/env_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@ def link_vep_installed():

def get_genome_installed():
return _check_exec("soprano-get-genome")


def annotate_vcfs_installed():
return _check_exec("soprano-annotate")
5 changes: 5 additions & 0 deletions tests/test_installation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from SOPRANO.utils.env_utils import (
annotate_vcfs_installed,
app_installed,
bedtools_installed,
cli_installed,
Expand Down Expand Up @@ -35,3 +36,7 @@ def test_link_vep_installed():

def test_get_genome_installed():
assert get_genome_installed()


def test_annotator_installed():
assert annotate_vcfs_installed()

0 comments on commit 86fefe1

Please sign in to comment.