Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: issue with truthiness of numpy array #70

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chew/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
header = extract_header(container)

autosomal_fingerprint = container["autosomal_fingerprint"]
if autosomal_fingerprint:
if autosomal_fingerprint is not None:

Check warning on line 112 in chew/stats.py

View check run for this annotation

Codecov / codecov/patch

chew/stats.py#L112

Added line #L112 was not covered by tests
autosomal_mask = autosomal_fingerprint[0]
autosomal_is_alt = autosomal_fingerprint[1]
autosomal_hom_alt = autosomal_fingerprint[2]
Expand Down
Loading