Skip to content

Commit

Permalink
Fix #73 - out format for multiindividuals decompose
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Sep 26, 2024
1 parent a7fcd76 commit 3a9fb46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Added a test for TRGT MCs set to `.`
- Added CLI test for TRGT file
- Fix codecov upload hidden artifact issue
- Incorrect multisample, multiallele FORMAT output

## [0.9.1]
### Added
Expand Down
4 changes: 2 additions & 2 deletions stranger/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,11 @@ def update_decomposed_variant_format_fields(variant_info, header_info, individua
Update variant_info individual FORMAT fields with information found in the now up to date
format_dicts.
"""
out_format = []


individuals = [individual for individual in header_info[individual_index:]]

for index, format_dict in enumerate(variant_info["format_dicts"]):
out_format = []
for field in variant_info["FORMAT"].split(":"):
out_format.append(format_dict[field])

Expand Down

0 comments on commit 3a9fb46

Please sign in to comment.