Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
job_id in tool evaulation
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
You can’t perform that action at this time.