Skip to content

Commit

Permalink
remove comments in Japanese
Browse files Browse the repository at this point in the history
  • Loading branch information
akikuno committed Sep 16, 2023
1 parent 07cee1a commit 698971f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions tests/test_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
###########################################################


# split_cigarのテスト
@pytest.mark.parametrize(
"cigar, expected",
[
Expand Down Expand Up @@ -45,7 +44,6 @@ def testparse_md(md_input, expected_output):
assert parse_md(md_input) == expected_output


# join_cigarのテスト
@pytest.mark.parametrize(
"cigar_tuples, expected",
[
Expand All @@ -63,7 +61,6 @@ def testjoin_cigar(cigar_tuples, expected):
assert join_cigar(cigar_tuples) == expected


# trim_clipsのテスト
@pytest.mark.parametrize(
"cigar, seq, expected_cigar, expected_seq",
[
Expand Down
4 changes: 0 additions & 4 deletions tests/test_to_vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,20 @@ class Vcf(NamedTuple):
info: VcfInfo = VcfInfo()


# find_ref_for_insertionのテスト
def test_find_ref_for_insertion():
assert find_ref_for_insertion(["=ACGT", "*ga", "+a"], 0) is None
assert find_ref_for_insertion(["=ACGT", "*ga", "+a"], 1) == "T"
assert find_ref_for_insertion(["=ACGT", "*ga", "+a"], 2) == "G"
assert find_ref_for_insertion(["=AC", "=GT", "-g", "+a"], 3) == "G"


# find_ref_for_deletionのテスト
def test_find_ref_for_deletion():
assert find_ref_for_deletion(["=AC", "-g"], 1) == "CG"
assert find_ref_for_deletion(["=ACGT", "*ga", "-a"], 2) == "GA"
assert find_ref_for_deletion(["=ACGT", "*ga", "-ac"], 2) == "GAC"
assert find_ref_for_deletion(["=AC", "=GT", "+a", "-a"], 3) == "TA"


# get_variant_annotationsのテスト
def test_get_variant_annotations():
default_info = VcfInfo()
# single mutation
Expand Down Expand Up @@ -83,7 +80,6 @@ def test_get_variant_annotations():
]


# process_cs_tag関数のテスト
def test_process_cs_tag():
cs_tag1 = "=AC*gt=T-gg=C+tt=A"
chrom1 = "chr1"
Expand Down

0 comments on commit 698971f

Please sign in to comment.