Skip to content

Commit

Permalink
fix broken cull singletons
Browse files Browse the repository at this point in the history
  • Loading branch information
adraismawur committed May 8, 2024
1 parent 4d2ad0b commit 15a5b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion big_scape/comparison/binning.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def cull_singletons(self, cutoff: float, ref_only: bool = False):
not_reference = record.parent_gbk.source_type != SOURCE_TYPE.REFERENCE

if in_edge or (in_singletons and not_reference):
self.source_records.append(record)
new_records.append(record)

self.source_records = new_records

Expand Down

0 comments on commit 15a5b51

Please sign in to comment.