Skip to content
Snippets Groups Projects
Commit 41d2982d authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed issue #4

parent f7013755
No related branches found
No related tags found
No related merge requests found
...@@ -325,7 +325,7 @@ class DatabaseBob (Database): ...@@ -325,7 +325,7 @@ class DatabaseBob (Database):
files : [:py:class:`FileSet`] or something similar files : [:py:class:`FileSet`] or something similar
The list of file sets used to probe the model with the given model id.""" 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) file_sets = self.database.object_sets(protocol = self.protocol, groups = group, model_ids = (model_id,), purposes = 'probe', **self.all_files_options)
else: else:
file_sets = self.database.object_sets(protocol = self.protocol, groups = group, purposes = 'probe', **self.all_files_options) file_sets = self.database.object_sets(protocol = self.protocol, groups = group, purposes = 'probe', **self.all_files_options)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment