Skip to content
Snippets Groups Projects
Commit 27336fa9 authored by Manuel Günther (aka. Gunther, Guenther)'s avatar Manuel Günther (aka. Gunther, Guenther)
Browse files

Merge pull request #5 from tiagofrepereira2012/master

Fixed issue #4
parents f7013755 41d2982d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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