Skip to content

Commit 20d7764

Browse files
another typo
1 parent 2d9a825 commit 20d7764

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/reconstruction/lookup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def process_position(folder: str,
139139
normalized = denoise_fft(normalized, int(config.denoise_input_value))
140140
elif config.denoise_input_type == 'lowrank':
141141
normalized = denoise_lowrank(normalized, int(config.denoise_input_value))
142-
if mask:
142+
if mask is not None:
143143
normalized[~mask] = 0.
144144

145145
if config.blur_input:

0 commit comments

Comments
 (0)