Skip to content

Commit

Permalink
fix according to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Jul 1, 2024
1 parent 376ecab commit 258a106
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests_and_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}

- name: Install pytest
run: pip install pytest
run: pip install pytest pytest-cov

- name: Run pytest
run: pytest --cov --rootdir=/home/runner/work/stranger
Expand Down
5 changes: 3 additions & 2 deletions stranger/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ def cli(context, vcf, family_id, repeats_file, loglevel, trgt):
if len(variant_info["alts"]) > 1:
variant_infos = decompose_var(variant_info)

for variant_info in variant_infos:
update_decomposed_variant_format_fields(variant_info, header_info, individual_index)
for variant_info in variant_infos:
update_decomposed_variant_format_fields(variant_info, header_info, individual_index)

for variant_info in variant_infos:
repeat_data = get_repeat_info(variant_info, repeat_information)

if repeat_data:
Expand Down

0 comments on commit 258a106

Please sign in to comment.