We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09710b0 commit 0db6f1dCopy full SHA for 0db6f1d
proseco/guide.py
@@ -398,7 +398,10 @@ def drop_excess_bonus_stars(self, guides):
398
n_faint += 1
399
# If we have more than the allowed number of faint bonus stars
400
# and the star is not force-included, mark it for removal.
401
- if (n_faint > self.dyn_bgd_n_faint) & (guides["stage"][idx] != 0):
+ if (
402
+ n_faint > self.dyn_bgd_n_faint
403
+ and guides["id"][idx] not in self.include_ids
404
+ ):
405
idxs_drop.append(idx)
406
if idxs_drop:
407
guides.remove_rows(idxs_drop)
0 commit comments