Skip to content

Commit 6279018

Browse files
committed
Fix max_seqlets_subsample bug
Mirror the fix in: jmschrei#60
1 parent 9182a9a commit 6279018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modiscolite/aggregator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _detect_spurious_merging(patterns, track_set, perplexity,
186186
prob_and_pertrack_sim_merge_thresholds=prob_and_pertrack_sim_merge_thresholds,
187187
prob_and_pertrack_sim_dealbreaker_thresholds=prob_and_pertrack_sim_dealbreaker_thresholds,
188188
min_frac=min_frac, min_num=min_num, flank_to_add=flank_to_add, window_size=window_size,
189-
bg_freq=bg_freq, max_seqlets_subsample=1000)
189+
bg_freq=bg_freq, max_seqlets_subsample=max_seqlets_subsample)
190190

191191
to_return.extend(refined_subpatterns[0])
192192
else:
@@ -197,7 +197,7 @@ def _detect_spurious_merging(patterns, track_set, perplexity,
197197
prob_and_pertrack_sim_merge_thresholds=prob_and_pertrack_sim_merge_thresholds,
198198
prob_and_pertrack_sim_dealbreaker_thresholds=prob_and_pertrack_sim_dealbreaker_thresholds,
199199
min_frac=min_frac, min_num=min_num, flank_to_add=flank_to_add, window_size=window_size,
200-
bg_freq=bg_freq, max_seqlets_subsample=1000)
200+
bg_freq=bg_freq, max_seqlets_subsample=max_seqlets_subsample)
201201

202202
def SimilarPatternsCollapser(patterns, track_set,
203203
min_overlap, prob_and_pertrack_sim_merge_thresholds,

0 commit comments

Comments
 (0)