Commit 41d2982d authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed issue #4

parent f7013755
......@@ -325,7 +325,7 @@ class DatabaseBob (Database):
files : [:py:class:`FileSet`] or something similar
The list of file sets used to probe the model with the given model id."""
if model_id:
if model_id is not None:
file_sets = self.database.object_sets(protocol = self.protocol, groups = group, model_ids = (model_id,), purposes = 'probe', **self.all_files_options)
else:
file_sets = self.database.object_sets(protocol = self.protocol, groups = group, purposes = 'probe', **self.all_files_options)
......
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