Skip to content

Commit

Permalink
BF: mask check
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarnunez committed Jun 19, 2021
1 parent 8bb8785 commit ee5301e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moten/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def get_frame_difference_generator(self):
generator = moten.io.generate_frame_difference_from_greyvideo(
self.video_file, size=self.size, nimages=self.nimages, dtype=self.dtype)

if self.mask:
if self.mask is not None:
generator = moten.io.apply_mask(self.mask, generator)

return generator
Expand Down

0 comments on commit ee5301e

Please sign in to comment.