1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ee315625cf4e/ Changeset: ee315625cf4e User: dan Date: 2014-02-19 22:15:48 Summary: Fix for DatasetListWrapper with optional inputs. Affected #: 1 file diff -r c38c0a6893e4831b536ce5b4e7004690aa8bb77b -r ee315625cf4e394bca8a05f25c82e78c978ed50c lib/galaxy/tools/wrappers.py --- a/lib/galaxy/tools/wrappers.py +++ b/lib/galaxy/tools/wrappers.py @@ -206,10 +206,12 @@ datasets = [datasets] def to_wrapper( dataset ): - real_path = dataset.file_name wrapper_kwds = kwargs.copy() - if real_path in dataset_paths: - wrapper_kwds[ "dataset_path" ] = dataset_paths[ real_path ] + if dataset: + #A None dataset does not have a filename + real_path = dataset.file_name + if real_path in dataset_paths: + wrapper_kwds[ "dataset_path" ] = dataset_paths[ real_path ] return DatasetFilenameWrapper( dataset, **wrapper_kwds ) list.__init__( self, map( to_wrapper, datasets ) ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.