Commit d939ef85 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira

Merge branch 'issue-6' into 'master'

Fixed issue #6

Closes #6

See merge request !12
parents 54cb1dd0 f5b7c8fb
Pipeline #11607 passed with stages
in 10 minutes and 37 seconds
......@@ -493,7 +493,7 @@ class Database(bob.db.base.SQLiteDatabase):
File.speech_type, File.shot_id, File.device)
retval += list(q)
return list(set(retval)) # To remove duplicates
return sorted(list(set(retval)), key=lambda x: x.id) # To remove duplicates
def tobjects(self, protocol=None, model_ids=None, groups=None, subworld='onethird', gender=None, speech_type=None, device=None):
"""Returns a set of filenames for enrolling T-norm models for score
......
Markdown is supported
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