Skip to content

Commit c5aeff3

Browse files
author
Sarah Wagner
committed
(ノ◕ヮ◕)ノ ✧bedazzled✧code✧ with docstrings & type hinting
1 parent 39e8afe commit c5aeff3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lightcurves/LC.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,8 +836,10 @@ def get_bblocks_above(
836836
block_mask = np.ones(len(self.block_val), dtype=bool)
837837
edge_mask = np.ones(len(self.edges), dtype=bool)
838838
for i in range(len(self.block_val) - 1):
839-
if self.block_val[i] == threshold
840-
and self.block_val[i + 1] == threshold:
839+
if (
840+
self.block_val[i] == threshold
841+
and self.block_val[i + 1] == threshold
842+
):
841843
block_mask[i + 1] = False
842844
edge_mask[i + 1] = False
843845

0 commit comments

Comments
 (0)