Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Oct 24, 2023
1 parent 1900e7a commit 53bcd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tape/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ def check_lightcurve_cohesion(ens):
counts = idx.map_partitions(lambda a: Counter(a.unique())).compute()

unq_counter = counts[0]
for i in range(len(counts) - 1):
unq_counter += counts[i + 1]
for i in range(1, len(counts)):
unq_counter += counts[i]
if any(c >= 2 for c in unq_counter.values()):
return False
return True
Expand Down

0 comments on commit 53bcd08

Please sign in to comment.