Closed piterand closed 1 year ago
I think this piece of code was correct, see comment on #122, but you're right here we're referencing start_positions
and end_positions
before declaration if use_entire_profile
is True. But we need to redefine both of them after the if\else
block, since if False, mask_starts/mask_ends
are redefined.
I think this piece of code was correct, see comment on #122, but you're right here we're referencing
start_positions
andend_positions
before declaration ifuse_entire_profile
is True. But we need to redefine both of them after theif\else
block, since if False,mask_starts/mask_ends
are redefined.
start_positions
and end_positions
used only in if
block. And then they are not used anywhere else.
But start_counts
and end_counts
we calculate after if-else
block.
... you're right!
Fixed the position of two strings of code. In the code, you trying to use the variables before the declaration.