Skip to content

Deal with situations where reference barcodes have zero counts#13

Merged
eachanjohnson merged 1 commit into
mainfrom
dev
May 11, 2026
Merged

Deal with situations where reference barcodes have zero counts#13
eachanjohnson merged 1 commit into
mainfrom
dev

Conversation

@eachanjohnson
Copy link
Copy Markdown
Contributor

Bug fix:

  • When any reference barcode has zero counts, the NaN was propagated through the summed counts to __log_ratio__ leading to model fitting silently failing. Now using np.nansum and throwing early errors if one or more samples has zero-count references.

@eachanjohnson eachanjohnson self-assigned this May 11, 2026
@eachanjohnson eachanjohnson merged commit 9745a25 into main May 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant