Commit 08dfe0f6 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Changed the objects() in Batl HLDI to match standart quering

parent cfc73bc4
Pipeline #17565 failed with stage
in 21 minutes and 51 seconds
...@@ -231,26 +231,8 @@ class BatlPadDatabase(PadDatabase): ...@@ -231,26 +231,8 @@ class BatlPadDatabase(PadDatabase):
groups, self.low_level_group_names, self.high_level_group_names) groups, self.low_level_group_names, self.high_level_group_names)
# Since this database was designed for PAD experiments, nothing special # Since this database was designed for PAD experiments, nothing special
# needs to be done here. # needs to be done here.
# files = self.db.objects(protocol=protocol, groups=groups, purposes=purposes **kwargs)
files = self.db.objects(protocol=protocol, purposes=groups, **kwargs)
#
# if purposes == ["real", "attack"]:
#
# files = files
#
# if purposes == "real" or purposes == ["real"]:
#
# a = 1
#
#
# if purposes == "attack" or purposes == ["attack"]:
#
# a = 1
files = self.db.objects(protocol=protocol, groups=groups, purposes=purposes **kwargs)
files = [BatlPadFile(f, stream_type, max_frames) for f in files] files = [BatlPadFile(f, stream_type, max_frames) for f in files]
return files return files
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment