Fix default number_of_noise_barcodes
for hashsolo
#2190
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It seems like the last PR #1483 1504a36 by @njbernstein broke the way the
number_of_noise_barcodes
worked.Like in the original solo repository the
number_of_**non**_noise_barcodes
should be2
as a default OR thenumber_of_barcodes
-number_of_noise_barcodes
.However, changing the default
number_of_noise_barcodes
fromNone
to2
and changing:to
led to the situation, that the used
number_of_non_noise_barcodes
wasnumber_of_barcodes
-2
as a default instead of2
.This leads to problems with demultiplexing, especially with multiple barcodes. Hence, I changed this back.
I also modified the check for a valid input to cope for the
None
default.changed to
The rest of changes was introduced by
black
formatting.