21 Oct
2011
21 Oct
'11
11:52 a.m.
Excerpts from Chorny, Ilya's message of 2011-10-21 15:43:35 +0000:
Also, I do not have access to trans in the Tools class in lib/galaxy/tools/__init__.py.
'trans' is the state of a web transaction (a single request response cycle). It is this only accessible for code that occurs within that scope. For tools/__init__.py there are some methods that have access and some that don't, it depends on how they are called (all the user interface generation related code has access to trans for example). -- James Taylor, Assistant Professor, Biology / Computer Science, Emory University