Commit f0347f69 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[init] fixed hci (full protocol) argument

parent c92de52a
......@@ -41,7 +41,7 @@ class Database(object):
d = resource_filename(__name__, os.path.join('data', 'li_samples_cvpr14.txt'))
with open(d, 'rt') as f: sessions = f.read().split()
return [File(**k) for k in self.metadata if k['basedir'] in sessions]
else:
elif protocol is not None:
raise RuntimeError('Protocol should be either "cvpr14" or not set. The value %s is not valid' % protocol)
return [File(**k) for k in self.metadata]
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