Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Created September 2, 2016 17:51
Show Gist options
  • Save jmchilton/5cba0e67744f02148dcb16d5dc3f2743 to your computer and use it in GitHub Desktop.
Save jmchilton/5cba0e67744f02148dcb16d5dc3f2743 to your computer and use it in GitHub Desktop.
--- a/lib/galaxy/tools/wrappers.py
+++ b/lib/galaxy/tools/wrappers.py
@@ -306,7 +306,7 @@ class DatasetListWrapper( list, ToolParameterValueWrapper, HasDatasets ):
datasets = [datasets]
def to_wrapper( dataset ):
- if hasattr(dataset, "element_identifier"):
+ if hasattr(dataset, "dataset_instance"):
element = dataset
dataset = element.dataset_instance
kwargs["identifier"] = element.element_identifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment