mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Hidden datasets will no longer show in "Show Structure"
This commit is contained in:
@@ -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."
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user