commit/galaxy-central: jmchilton: Add a few more comments about dataset path rewriting in the dataset wrapper.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/cfa24d46767a/ Changeset: cfa24d46767a User: jmchilton Date: 2014-06-20 06:21:42 Summary: Add a few more comments about dataset path rewriting in the dataset wrapper. Affected #: 1 file diff -r d781366bc120787e201b73a4dd99b56282169d86 -r cfa24d46767a41afa9e83cbf703eef837b47f1e2 lib/galaxy/tools/wrappers.py --- a/lib/galaxy/tools/wrappers.py +++ b/lib/galaxy/tools/wrappers.py @@ -209,13 +209,21 @@ def __getattr__( self, key ): if self.false_path is not None and key == 'file_name': + # Path to dataset was rewritten for this job. return self.false_path elif self.false_extra_files_path is not None and key == 'extra_files_path': + # Path to extra files was rewritten for this job. return self.false_extra_files_path elif key == 'extra_files_path': try: + # Assume it is an output and that this wrapper + # will be set with correct "files_path" for this + # job. return self.files_path except AttributeError: + # Otherwise, we have an input - delegate to model and + # object store to find the static location of this + # directory. try: return self.dataset.extra_files_path except exceptions.ObjectNotFound: 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