Hidden datasets will no longer show in "Show Structure"

This commit is contained in:
Dannon Baker
2010-08-09 17:08:16 -04:00
parent 77a3278aa3
commit 90c2bad04e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -198,6 +198,7 @@ class HideDatasetAction(DefaultJobAction):
"""
return get_form_template(cls.name, cls.verbose_name, form, "This action will hide the result dataset.")
@classmethod
def get_short_str(cls, trans):
return "Hide this dataset."
+2
View File
@@ -362,6 +362,8 @@ class HistoryController( BaseController, Sharable, UsesAnnotations, UsesItemRati
# added directly to items
jobs = odict()
for hda in history.active_datasets:
if hda.visible == False:
continue
# Follow "copied from ..." association until we get to the original
# instance of the dataset
original_hda = hda