commit/galaxy-central: dan: Fix for ToolEvaluator with optional Dataset Input selected with multiple inputs.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/baf2a8cc97ed/ Changeset: baf2a8cc97ed User: dan Date: 2014-02-20 17:52:52 Summary: Fix for ToolEvaluator with optional Dataset Input selected with multiple inputs. Affected #: 1 file diff -r d01fc0370afece3ef77b63a116fd9a1c2105c2e4 -r baf2a8cc97ed720e10b6148254d7dd7478d8e839 lib/galaxy/tools/evaluation.py --- a/lib/galaxy/tools/evaluation.py +++ b/lib/galaxy/tools/evaluation.py @@ -232,10 +232,11 @@ tool=self, name=name, ) - real_path = data.file_name - if real_path in input_dataset_paths: - dataset_path = input_dataset_paths[ real_path ] - wrapper_kwds[ 'dataset_path' ] = dataset_path + if data: + real_path = data.file_name + if real_path in input_dataset_paths: + dataset_path = input_dataset_paths[ real_path ] + wrapper_kwds[ 'dataset_path' ] = dataset_path param_dict[name] = DatasetFilenameWrapper( data, **wrapper_kwds ) if data: for child in data.children: 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.
participants (1)
-
commits-noreply@bitbucket.org