Merge pull request #5 from vlow/bugfix/inverse-logic
Fixed inverse logic bug in maskgen.
This commit is contained in:
commit
665d3a5032
@ -73,9 +73,9 @@ class MaskGen:
|
|||||||
# Apply filters based on occurrence, length, complexity and time
|
# Apply filters based on occurrence, length, complexity and time
|
||||||
if (self.minoccurrence == None or mask_occurrence >= self.minoccurrence) and \
|
if (self.minoccurrence == None or mask_occurrence >= self.minoccurrence) and \
|
||||||
(self.maxoccurrence == None or mask_occurrence <= self.maxoccurrence) and \
|
(self.maxoccurrence == None or mask_occurrence <= self.maxoccurrence) and \
|
||||||
(self.mincomplexity == None or mask_complexity <= self.mincomplexity) and \
|
(self.mincomplexity == None or mask_complexity >= self.mincomplexity) and \
|
||||||
(self.maxcomplexity == None or mask_complexity <= self.maxcomplexity) and \
|
(self.maxcomplexity == None or mask_complexity <= self.maxcomplexity) and \
|
||||||
(self.mintime == None or mask_time <= self.mintime) and \
|
(self.mintime == None or mask_time >= self.mintime) and \
|
||||||
(self.maxtime == None or mask_time <= self.maxtime) and \
|
(self.maxtime == None or mask_time <= self.maxtime) and \
|
||||||
(self.maxlength == None or mask_length <= self.maxlength) and \
|
(self.maxlength == None or mask_length <= self.maxlength) and \
|
||||||
(self.minlength == None or mask_length >= self.minlength):
|
(self.minlength == None or mask_length >= self.minlength):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user