Last active
August 29, 2015 14:01
-
-
Save jmchilton/ddec237d2ad63821addc to your computer and use it in GitHub Desktop.
job_id in tool evaulation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/galaxy/tools/evaluation.py b/lib/galaxy/tools/evaluation.py | |
index 6c38e83..ded67e9 100644 | |
--- a/lib/galaxy/tools/evaluation.py | |
+++ b/lib/galaxy/tools/evaluation.py | |
@@ -321,6 +321,7 @@ class ToolEvaluator( object ): | |
param_dict['__datatypes_config__'] = param_dict['GALAXY_DATATYPES_CONF_FILE'] = self.app.datatypes_registry.integrated_datatypes_configs | |
param_dict['__admin_users__'] = self.app.config.admin_users | |
param_dict['__user__'] = RawObjectWrapper( param_dict.get( '__user__', None ) ) | |
+ param_dict['__job_id__'] = self.job.id | |
def __populate_unstructured_path_rewrites(self, param_dict): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment