coercing to Unicode: need string or buffer, NoneType found
Request Method: | GET |
---|---|
Request URL: | https://networks.systemsbiology.net/bsu/gene/BSU21890 |
Django Version: | 1.8.3 |
Exception Type: | TypeError |
Exception Value: | coercing to Unicode: need string or buffer, NoneType found |
Exception Location: | /local/apache-stuff/network_portal/web_app/networks/templatetags/filters.py in influences_to_gene_description_map, line 182 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/local/apache-stuff/network_portal/web_app', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages'] |
Server time: | Thu, 28 Mar 2024 11:41:52 -0700 |
In template /local/apache-stuff/network_portal/web_app/networks/templates/gene_regulation_snippet.html
, error at line 9
1 | {% load filters %} |
---|---|
2 | {% load format_tags %} |
3 | <a class="help" href="#regulation"><img align="right" src="/static/images/help.png" /></a> |
4 | <h5> Regulation information for {{ gene }} </h5> <span class="search_help">(Mouseover regulator name to see its description)</span> |
5 | <p> |
6 | <div class="tab-contents"> |
7 | <script type="text/javascript"> |
8 | $(document).ready(function() { |
9 | {{ influence_biclusters|influences_to_gene_description_map }} ; |
10 | $('.reggene').on('mouseover', function(event) { |
11 | var geneName = $(this).html(); |
12 | $(this).qtip({ |
13 | prerender: true, |
14 | content: descriptionMap[geneName] |
15 | }, event); |
16 | }); |
17 | }); |
18 | </script> |
19 |
/usr/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
callback_args | () |
resolver_match | ResolverMatch(func=networks.views.gene, args=(), kwargs={'gene': u'BSU21890', 'species': u'bsu'}, url_name=gene, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f128c42c690>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f12d81c9f10> |
request | "<WSGIRequest\npath:/bsu/gene/BSU21890,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/local/apache-stuff/network_portal',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'v8BSIBeITOLAH8pHffPquKO9EAvP94IU',\n 'DOCUMENT_ROOT': '/local/apache-stuff/network_portal',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'networks.systemsbiology.net',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.237.91.98',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_REAL_IP': '3.237.91.98',\n 'PATH_INFO': u'/bsu/gene/BSU21890',\n 'PATH_TRANSLATED': '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py/bsu/gene/BSU21890',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.3.0.181',\n 'REMOTE_PORT': '41658',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bsu/gene/BSU21890',\n 'SCRIPT_FILENAME': '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '10.2.8.50',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'networks.systemsbiology.net',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache',\n 'UNIQUE_ID': 'ZgW57zqWPENE3IMVS0z94gAAAA8',\n 'mod_wsgi.application_group': '',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': 'networks-ssl',\n 'mod_wsgi.queue_start': '1711651311721349',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f127eeea130>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f127fcdf5d0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f127eeea0f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function gene at 0x7f128c353c80> |
wrapped_callback | <function gene at 0x7f128c353c80> |
resolver | <RegexURLResolver 'nwportal.urls' (None:None) ^/> |
callback_kwargs | {'gene': u'BSU21890', 'species': u'bsu'} |
response | None |
urlconf | 'nwportal.urls' |
/local/apache-stuff/network_portal/web_app/networks/views.py
in gene
bicluster_pssms[motif_id] = pssm
if not preview_added:
preview_motifs.append(motif_id)
preview_added = True
motifs = all_motifs # used in template
preview_motifs = preview_motifs[:2] # restrict to 2 motifs on the front tab to improve load time
return render_to_response('gene.html', locals())...
# WW: these go into an embedded frame, so for security reasons make sure these are hosted
# on the same domain
SVG_MAP = {
'dvu': "/static/cmonkey_enigma/cmonkey_4.8.2_dvu_3491x739_11_Mar_02_17:37:51/svgs/",
'mmp': "/static/cmonkey_enigma/mmp/cmonkey_4.8.8_mmp_1661x58_11_Oct_11_16:14:07/svgs/",
Variable | Value |
---|---|
all_motifs | [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>] |
influence_biclusters | [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)] |
count_regulated_biclusters | 0 |
motif_id | 5691 |
species | <Species: Bacillus subtilis> |
pssms | {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]} |
functions | [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>] |
network | <Network: Bacillus_subtilis network> |
system | {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'} |
preview_motifs | [5002, 5690] |
systems | [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}] |
motifs | [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>] |
neighbor_genes | [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU35670>, <Gene: BSU36600>, <Gene: BSU38380>, <Gene: BSU39530>] |
function | <Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog> |
member_biclusters | [<Bicluster: Bicluster 20>, <Bicluster: Bicluster 389>] |
STATIC_PREFIX | '/static/' |
key | u'cog' |
bicluster_pssms | {5002: [[0.0, 0.222222, 0.722222, 0.055556], [0.111111, 0.444444, 0.0, 0.444444], [0.111111, 0.277778, 0.555556, 0.055556], [0.0, 0.0, 0.166667, 0.833333], [0.222222, 0.166667, 0.444444, 0.166667], [0.0, 0.0, 1.0, 0.0], [0.222222, 0.055556, 0.722222, 0.0], [0.222222, 0.055556, 0.666667, 0.055556], [0.222222, 0.0, 0.388889, 0.388889], [0.833333, 0.0, 0.166667, 0.0], [0.333333, 0.0, 0.666667, 0.0], [0.111111, 0.222222, 0.277778, 0.388889], [0.555556, 0.0, 0.166667, 0.277778], [0.388889, 0.055556, 0.388889, 0.166667], [0.166667, 0.0, 0.111111, 0.722222], [0.0, 0.0, 0.5, 0.5], [0.277778, 0.0, 0.333333, 0.388889], [0.777778, 0.0, 0.222222, 0.0], [0.944444, 0.0, 0.055556, 0.0], [0.666667, 0.0, 0.166667, 0.166667], [0.611111, 0.0, 0.333333, 0.055556]], 5003: [[0.6875, 0.125, 0.1875, 0.0], [0.625, 0.3125, 0.0625, 0.0], [1.0, 0.0, 0.0, 0.0], [0.25, 0.0, 0.3125, 0.4375], [0.875, 0.0, 0.125, 0.0], [0.0, 0.0, 0.0625, 0.9375], [0.75, 0.125, 0.0, 0.125], [0.625, 0.0, 0.0, 0.375], [0.0, 0.0625, 0.25, 0.6875], [0.019474, 0.011776, 0.519474, 0.449276], [0.019474, 0.011776, 0.206974, 0.761776], [0.581974, 0.199276, 0.144474, 0.074276], [0.519474, 0.199276, 0.144474, 0.136776], [0.1875, 0.0, 0.8125, 0.0], [0.0, 0.25, 0.75, 0.0]], 5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]} |
pssm | [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]] |
network_id | 9 |
regulated_biclusters | [] |
request | "<WSGIRequest\npath:/bsu/gene/BSU21890,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/local/apache-stuff/network_portal',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'v8BSIBeITOLAH8pHffPquKO9EAvP94IU',\n 'DOCUMENT_ROOT': '/local/apache-stuff/network_portal',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'networks.systemsbiology.net',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.237.91.98',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_REAL_IP': '3.237.91.98',\n 'PATH_INFO': u'/bsu/gene/BSU21890',\n 'PATH_TRANSLATED': '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py/bsu/gene/BSU21890',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.3.0.181',\n 'REMOTE_PORT': '41658',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bsu/gene/BSU21890',\n 'SCRIPT_FILENAME': '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '10.2.8.50',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'networks.systemsbiology.net',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache',\n 'UNIQUE_ID': 'ZgW57zqWPENE3IMVS0z94gAAAA8',\n 'mod_wsgi.application_group': '',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': 'networks-ssl',\n 'mod_wsgi.queue_start': '1711651311721349',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f127eeea130>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f127fcdf5d0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f127eeea0f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
mbicl | <Bicluster: Bicluster 389> |
gene | <Gene: BSU21890> |
preview_added | True |
view | '' |
/usr/lib/python2.7/site-packages/django/shortcuts.py
in render_to_response
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
if (context_instance is _context_instance_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)
Variable | Value |
---|---|
dirs | <object object at 0x7f12d82db690> |
status | None |
content_type | None |
dictionary | <object object at 0x7f12d82db680> |
template_name | 'gene.html' |
context_instance | <object object at 0x7f12d82db670> |
context | {u'STATIC_PREFIX': '/static/', 'all_motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'bicluster_pssms': {5002: [[0.0, 0.222222, 0.722222, 0.055556], [0.111111, 0.444444, 0.0, 0.444444], [0.111111, 0.277778, 0.555556, 0.055556], [0.0, 0.0, 0.166667, 0.833333], [0.222222, 0.166667, 0.444444, 0.166667], [0.0, 0.0, 1.0, 0.0], [0.222222, 0.055556, 0.722222, 0.0], [0.222222, 0.055556, 0.666667, 0.055556], [0.222222, 0.0, 0.388889, 0.388889], [0.833333, 0.0, 0.166667, 0.0], [0.333333, 0.0, 0.666667, 0.0], [0.111111, 0.222222, 0.277778, 0.388889], [0.555556, 0.0, 0.166667, 0.277778], [0.388889, 0.055556, 0.388889, 0.166667], [0.166667, 0.0, 0.111111, 0.722222], [0.0, 0.0, 0.5, 0.5], [0.277778, 0.0, 0.333333, 0.388889], [0.777778, 0.0, 0.222222, 0.0], [0.944444, 0.0, 0.055556, 0.0], [0.666667, 0.0, 0.166667, 0.166667], [0.611111, 0.0, 0.333333, 0.055556]], 5003: [[0.6875, 0.125, 0.1875, 0.0], [0.625, 0.3125, 0.0625, 0.0], [1.0, 0.0, 0.0, 0.0], [0.25, 0.0, 0.3125, 0.4375], [0.875, 0.0, 0.125, 0.0], [0.0, 0.0, 0.0625, 0.9375], [0.75, 0.125, 0.0, 0.125], [0.625, 0.0, 0.0, 0.375], [0.0, 0.0625, 0.25, 0.6875], [0.019474, 0.011776, 0.519474, 0.449276], [0.019474, 0.011776, 0.206974, 0.761776], [0.581974, 0.199276, 0.144474, 0.074276], [0.519474, 0.199276, 0.144474, 0.136776], [0.1875, 0.0, 0.8125, 0.0], [0.0, 0.25, 0.75, 0.0]], 5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], ... <trimmed 12256 bytes string> |
using | None |
/usr/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
else:
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
try:
# This is required for deprecating properly arguments specific
Variable | Value |
---|---|
dirs | <object object at 0x7f12d82db690> |
template | <django.template.backends.django.Template object at 0x7f127eeeaad0> |
dictionary | <object object at 0x7f12d82db680> |
template_name | 'gene.html' |
request | None |
context_instance | <object object at 0x7f12d82db670> |
context | {u'STATIC_PREFIX': '/static/', 'all_motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'bicluster_pssms': {5002: [[0.0, 0.222222, 0.722222, 0.055556], [0.111111, 0.444444, 0.0, 0.444444], [0.111111, 0.277778, 0.555556, 0.055556], [0.0, 0.0, 0.166667, 0.833333], [0.222222, 0.166667, 0.444444, 0.166667], [0.0, 0.0, 1.0, 0.0], [0.222222, 0.055556, 0.722222, 0.0], [0.222222, 0.055556, 0.666667, 0.055556], [0.222222, 0.0, 0.388889, 0.388889], [0.833333, 0.0, 0.166667, 0.0], [0.333333, 0.0, 0.666667, 0.0], [0.111111, 0.222222, 0.277778, 0.388889], [0.555556, 0.0, 0.166667, 0.277778], [0.388889, 0.055556, 0.388889, 0.166667], [0.166667, 0.0, 0.111111, 0.722222], [0.0, 0.0, 0.5, 0.5], [0.277778, 0.0, 0.333333, 0.388889], [0.777778, 0.0, 0.222222, 0.0], [0.944444, 0.0, 0.055556, 0.0], [0.666667, 0.0, 0.166667, 0.166667], [0.611111, 0.0, 0.333333, 0.055556]], 5003: [[0.6875, 0.125, 0.1875, 0.0], [0.625, 0.3125, 0.0625, 0.0], [1.0, 0.0, 0.0, 0.0], [0.25, 0.0, 0.3125, 0.4375], [0.875, 0.0, 0.125, 0.0], [0.0, 0.0, 0.0625, 0.9375], [0.75, 0.125, 0.0, 0.125], [0.625, 0.0, 0.0, 0.375], [0.0, 0.0625, 0.25, 0.6875], [0.019474, 0.011776, 0.519474, 0.449276], [0.019474, 0.011776, 0.206974, 0.761776], [0.581974, 0.199276, 0.144474, 0.074276], [0.519474, 0.199276, 0.144474, 0.136776], [0.1875, 0.0, 0.8125, 0.0], [0.0, 0.25, 0.75, 0.0]], 5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], ... <trimmed 12256 bytes string> |
using | None |
/usr/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango110Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7f127eeeaad0> |
request | None |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f127eee43d0> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f127eee43d0> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "base2.html"> |
self | [<ExtendsNode: extends "base2.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends "base2.html"> |
self | [<ExtendsNode: extends "base2.html">] |
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f127de5e9d0> |
blocks | {u'basewrap': <Block Node: basewrap. Contents: [<Text Node: '<div id="wrap-no-line">'>]>, u'content': <Block Node: content. Contents: []>, u'csscommon': <Block Node: csscommon. Contents: [<Text Node: ' <link rel="styleshee'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/portal-style.'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/jquery.reject'>]>, u'cssreset': <Block Node: cssreset. Contents: []>, u'cssspecial': <Block Node: cssspecial. Contents: []>, u'footer': <Block Node: footer. Contents: [<Text Node: ' <!--<a href="ht'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/kbase-logo.jpg"></'>, <django.template.defaulttags.URLNode object at 0x7f128466ab10>, <Text Node: '">Development</a> '>, <django.template.defaulttags.URLNode object at 0x7f128466a810>, <Text Node: '">Home</a></p> '>]>, u'jscommon': <Block Node: jscommon. Contents: [<Text Node: ' <!--<script type="te'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'cytoscapeweb/js/json2.min'>]>, u'jsspecial': <Block Node: jsspecial. Contents: []>, u'title': <Block Node: title. Contents: [<Text Node: 'Network Portal'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f1284306e50> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
compiled_parent | <django.template.base.Template object at 0x7f1284306750> |
self | <ExtendsNode: extends "base2.html"> |
/usr/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f1284306750> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
bit | u'\n <div id="content">\n ' |
bits | [u'', u'', u'<!doctype html>\n<html>\n <head>\n <title>', u'Network Portal - Gene BSU21890', u'</title>\n ', u'\n<link rel="stylesheet" type="text/css" href="http://www.ncbi.nlm.nih.gov/core/extjs/ext-3.4.0/resources/css/ext-all.css" />\n<link rel="stylesheet" type="text/css" href="http://www.ncbi.nlm.nih.gov/core/extjs/ext-3.4.0/resources/css/xtheme-gray.css" id="theme" />\n<link rel="stylesheet" type="text/css" href="http://www.ncbi.nlm.nih.gov/coreweb/styles/ncbi_templates.css" />\n<!-- <link rel="stylesheet" type="text/css" href="http://www.ncbi.nlm.nih.gov/projects/sviewer/css/style.css" /> -->\n<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/redmond/jquery-ui.css" />\n', u'\n ', u'\n <link rel="stylesheet" href="/static/stylesheets/portal-style.css">\n <link rel="stylesheet" href="/static/stylesheets/jquery.reject.css">', u'\n <link href="', u'/static/', u'javascripts/jquery.qtip.min.css" rel="stylesheet" type="text/css" />\n ', u'<link href="http://cdn.wijmo.com/jquery.wijmo-open.1.5.0.css" rel="stylesheet" type="text/css" />\n<link rel="stylesheet" href="/static/stylesheets/colorbox.css" />\n<link href="/static/javascripts/jquery.qtip.min.css" rel="stylesheet" type="text/css" />', u'\n ', u'\n <!--<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> -->\n <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.js"></script>\n\n <script src="/static/javascripts/jquery-ui-1.11.2.custom/jquery-ui.min.js"></script>\n <link rel="stylesheet" href="/static/javascripts/jquery-ui-1.11.2.custom/jquery-ui.min.css">\n <script type="text/javascript" src="/static/cytoscapeweb/js/json2.min.js"></script>\n ', u'\n ', u'<script type="text/javascript" src="/static/cytoscapeweb/js/AC_OETags.min.js"></script>\n <script type="text/javascript" src="/static/cytoscapeweb/js/cytoscapeweb.min.js"></script>\n <script type="text/javascript" src="/static/javascripts/wwu_logo/isblogo.js"></script>\n <script type="text/javascript" src="/static/javascripts/network_helpers.js"></script>\n <script type="text/javascript" src="/static/javascripts/jquery.qtip.min.js"></script>\n <script type="text/javascript" src="http://cdn.wijmo.com/jquery.wijmo-open.1.5.0.min.js"></script>\n <script type="text/javascript" src="/static/javascripts/protovis.min.js"></script>\n <script type="text/javascript" src="/static/javascripts/visquick-min/vq.min.js"></script>\n <script type="text/javascript" src="/static/javascripts/visquick-min/vq.circvis.min.js"></script>\n <script type="text/javascript" src="/static/javascripts/visquick_helpers.js"></script>\n <script type=\'text/javascript\' src=\'/static/javascripts/jquery.colorbox.js\'></script>\n<!-- <script type="text/javascript" src="http://www.ncbi.nlm.nih.gov/core/extjs/ext-3.4.0/adapter/ext/ext-base.js"></script>\n <script type="text/javascript" src="http://www.ncbi.nlm.nih.gov/core/extjs/ext-3.4.0/ext-all.js"></script>\n <script type="text/javascript">window.sv_base_url = "/sviewer/"</script>-->\n<!-- These are required for loading NCBI sequence viewer in gene page -->\n<!--<script type="text/javascript" src="http://www.ncbi.nlm.nih.gov/projects/sviewer/js/main.js"/>-->\n ', u'\n <script type="text/javascript" src="', u'/static/', u'javascripts/main.js"></script>\n <script type="text/javascript" src="', u'/static/', u'javascripts/collapsing_divs.js"></script>\n <script type="text/javascript" src="', u'/static/', u'javascripts/jquery.tablesorter.min.js"></script>\n <script type="text/javascript" src="', u'/static/', u'javascripts/jquery.tablesorter.pager.js"></script>\n\t<script type="text/javascript" src="', u'/static/', u'javascripts/jquery.jcarousel.min.js"></script>\n <script type="text/javascript" src="', u'/static/', u'javascripts/jquery.qtip.min.js"></script>\n <script type="text/javascript" src="', u'/static/', u'javascripts/jquery.reject.min.js"></script>\n <!-- google analytics -->\n <script t... <trimmed 7460 bytes string> |
self | [<django.template.defaulttags.LoadNode object at 0x7f127de5e9d0>, <PrefixNode for 'STATIC_URL'>, <Text Node: '<!doctype html> <html> '>, <Block Node: title. Contents: [<Text Node: 'Network Portal'>]>, <Text Node: '</title> '>, <Block Node: cssreset. Contents: []>, <Text Node: ' '>, <Block Node: csscommon. Contents: [<Text Node: ' <link rel="styleshee'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/portal-style.'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/jquery.reject'>]>, <Text Node: ' <link href="'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.qtip.m'>, <Block Node: cssspecial. Contents: []>, <Text Node: ' '>, <Block Node: jscommon. Contents: [<Text Node: ' <!--<script type="te'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'cytoscapeweb/js/json2.min'>]>, <Text Node: ' '>, <Block Node: jsspecial. Contents: []>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/main.js"></sc'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/collapsing_di'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.tables'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.tables'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.jcarou'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.qtip.m'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.reject'>, <Block Node: basewrap. Contents: [<Text Node: '<div id="wrap-no-line">'>]>, <Text Node: ' <div id="header"> '>, <django.template.defaulttags.URLNode object at 0x7f1284654110>, <Text Node: '"><img alt="Logo" src="'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/logo-text.png"></a'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/isb_logo.png"></a>'>, <IfNode>, <Text Node: ' --> <li><a '>, <django.template.defaulttags.URLNode object at 0x7f1284654190>, <Text Node: '">About</a></li> <li><'>, <django.template.defaulttags.URLNode object at 0x7f1284654850>, <Text Node: '">Contact</a></li> <li'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'apidocuments">API</a></li'>, <django.template.defaulttags.LoadNode object at 0x7f128466a050>, <Text Node: ' <div id="nav"> '>, <django.template.base.SimpleNode object at 0x7f128466a290>, <Text Node: '"><a href="/">Home</a></l'>, <django.template.base.SimpleNode object at 0x7f128466a650>, <Text Node: '"><a href="/search">Searc'>, <django.template.base.SimpleNode object at 0x7f128466a950>, <Text Node: '"><a href="/species">Spec'>, <django.template.base.SimpleNode object at 0x7f128466a7d0>, <Text Node: '"><a href="/workspace">Wo'>, <IfNode>, <Text Node: ' <li class="'>, <django.template.base.SimpleNode object at 0x7f128466a090>, <Text Node: '"><a href="/help/" title='>, <django.template.base.SimpleNode object at 0x7f128466a250>, <Text Node: '"><a href="/analysis/gene'>, <Text Node: ' <div id="content">'>, <Block Node: content. Contents: []>, <Text Node: ' </div>'>, <Text Node: ' <div id="footer"> '>, <Block Node: footer. Contents: [<Text Node: ' <!--<a href="ht'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/kbase-logo.jpg"></'>, <django.template.defaulttags.URLNode object at 0x7f128466ab10>, <Text Node: '">Development</a> '>, <django.template.defaulttags.URLNode object at 0x7f128466a810>, <Text Node: '">Home</a></p> '>]>, <Text Node: ' </div>'>, <Text Node: ' <center> '>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/kbase-logo.jpg"></'>, <Text Node: ' </body> </html> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7f127de5e9d0>, <PrefixNode for 'STATIC_URL'>, <Text Node: '<!doctype html> <html> '>, <Block Node: title. Contents: [<Text Node: 'Network Portal'>]>, <Text Node: '</title> '>, <Block Node: cssreset. Contents: []>, <Text Node: ' '>, <Block Node: csscommon. Contents: [<Text Node: ' <link rel="styleshee'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/portal-style.'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'stylesheets/jquery.reject'>]>, <Text Node: ' <link href="'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.qtip.m'>, <Block Node: cssspecial. Contents: []>, <Text Node: ' '>, <Block Node: jscommon. Contents: [<Text Node: ' <!--<script type="te'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery-ui-1.1'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'cytoscapeweb/js/json2.min'>]>, <Text Node: ' '>, <Block Node: jsspecial. Contents: []>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/main.js"></sc'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/collapsing_di'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.tables'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.tables'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.jcarou'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.qtip.m'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'javascripts/jquery.reject'>, <Block Node: basewrap. Contents: [<Text Node: '<div id="wrap-no-line">'>]>, <Text Node: ' <div id="header"> '>, <django.template.defaulttags.URLNode object at 0x7f1284654110>, <Text Node: '"><img alt="Logo" src="'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/logo-text.png"></a'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/isb_logo.png"></a>'>, <IfNode>, <Text Node: ' --> <li><a '>, <django.template.defaulttags.URLNode object at 0x7f1284654190>, <Text Node: '">About</a></li> <li><'>, <django.template.defaulttags.URLNode object at 0x7f1284654850>, <Text Node: '">Contact</a></li> <li'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'apidocuments">API</a></li'>, <django.template.defaulttags.LoadNode object at 0x7f128466a050>, <Text Node: ' <div id="nav"> '>, <django.template.base.SimpleNode object at 0x7f128466a290>, <Text Node: '"><a href="/">Home</a></l'>, <django.template.base.SimpleNode object at 0x7f128466a650>, <Text Node: '"><a href="/search">Searc'>, <django.template.base.SimpleNode object at 0x7f128466a950>, <Text Node: '"><a href="/species">Spec'>, <django.template.base.SimpleNode object at 0x7f128466a7d0>, <Text Node: '"><a href="/workspace">Wo'>, <IfNode>, <Text Node: ' <li class="'>, <django.template.base.SimpleNode object at 0x7f128466a090>, <Text Node: '"><a href="/help/" title='>, <django.template.base.SimpleNode object at 0x7f128466a250>, <Text Node: '"><a href="/analysis/gene'>, <Text Node: ' <div id="content">'>, <Block Node: content. Contents: []>, <Text Node: ' </div>'>, <Text Node: ' <div id="footer"> '>, <Block Node: footer. Contents: [<Text Node: ' <!--<a href="ht'>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/kbase-logo.jpg"></'>, <django.template.defaulttags.URLNode object at 0x7f128466ab10>, <Text Node: '">Development</a> '>, <django.template.defaulttags.URLNode object at 0x7f128466a810>, <Text Node: '">Home</a></p> '>]>, <Text Node: ' </div>'>, <Text Node: ' <center> '>, <Variable Node: STATIC_PREFIX>, <Text Node: 'images/kbase-logo.jpg"></'>, <Text Node: ' </body> </html> '>] |
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <h5><span class="search_'>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a> '>, <For Node: for network in species.network_set.all, tail_len: 5>, <Text Node: ' </span> </h5> <div id'>, <Variable Node: gene.name>, <Text Node: '</a></li> <li><a cl'>, <Text Node: ' <li><a class="gene'>, <Variable Node: bicluster_pssms>, <Text Node: '; $(document).'>, <Variable Node: gene.bicluster_set.count>, <Text Node: ', "'>, <Variable Node: gene.name>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbe550>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbeb50>, <Text Node: '", '>, <IfNode>, <Text Node: ' var circle'>, <Variable Node: gene.name>, <Text Node: '', succ'>, <Variable Node: preview_motifs>, <Text Node: '); '>, <Variable Node: gene.display_name>, <Text Node: '</h5> <p><span '>, <Variable Node: gene.description>, <Text Node: '</span></p> <d'>, <Variable Node: gene.functions.count>, <Text Node: ')</h5> '>, <IfNode>, <Text Node: ' <!-- <h3'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>, <Text Node: ' </div> <div id='>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a><br/> <st'>, <Variable Node: gene.name>, <Text Node: ' <br/> <stron'>, <Variable Node: gene.geneid>, <Text Node: '">'>, <Variable Node: gene.geneid>, <Text Node: ' (NCBI) </a>, <a href="ht'>, <Variable Node: gene.name>, <Text Node: '">'>, <Variable Node: gene.name>, <Text Node: ' (MicrobesOnline) </a><br'>, <IfNode>, <Text Node: '</i><br/> <h5'>, <IfNode>, <Text Node: ' </table> '>, <IfNode>, <Text Node: '--> </div>'>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f1284306ed0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12843062d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846fa0d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846faf90>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0f50>, <Text Node: ' </div> <!-- '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0610>, <Text Node: ' </div> <div '>, <Variable Node: gene.name>, <Text Node: ' </h5> Please add y'>, <Text Node: ' </div>'>, <Text Node: ' <div style="display:n'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f1284306550>, <Text Node: '" align="right"><br> <u'>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f1284306e50> |
block | <Block Node: content. Contents: [<Text Node: ' <h5><span class="search_'>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a> '>, <For Node: for network in species.network_set.all, tail_len: 5>, <Text Node: ' </span> </h5> <div id'>, <Variable Node: gene.name>, <Text Node: '</a></li> <li><a cl'>, <Text Node: ' <li><a class="gene'>, <Variable Node: bicluster_pssms>, <Text Node: '; $(document).'>, <Variable Node: gene.bicluster_set.count>, <Text Node: ', "'>, <Variable Node: gene.name>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbe550>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbeb50>, <Text Node: '", '>, <IfNode>, <Text Node: ' var circle'>, <Variable Node: gene.name>, <Text Node: '', succ'>, <Variable Node: preview_motifs>, <Text Node: '); '>, <Variable Node: gene.display_name>, <Text Node: '</h5> <p><span '>, <Variable Node: gene.description>, <Text Node: '</span></p> <d'>, <Variable Node: gene.functions.count>, <Text Node: ')</h5> '>, <IfNode>, <Text Node: ' <!-- <h3'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>, <Text Node: ' </div> <div id='>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a><br/> <st'>, <Variable Node: gene.name>, <Text Node: ' <br/> <stron'>, <Variable Node: gene.geneid>, <Text Node: '">'>, <Variable Node: gene.geneid>, <Text Node: ' (NCBI) </a>, <a href="ht'>, <Variable Node: gene.name>, <Text Node: '">'>, <Variable Node: gene.name>, <Text Node: ' (MicrobesOnline) </a><br'>, <IfNode>, <Text Node: '</i><br/> <h5'>, <IfNode>, <Text Node: ' </table> '>, <IfNode>, <Text Node: '--> </div>'>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f1284306ed0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12843062d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846fa0d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846faf90>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0f50>, <Text Node: ' </div> <!-- '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0610>, <Text Node: ' </div> <div '>, <Variable Node: gene.name>, <Text Node: ' </h5> Please add y'>, <Text Node: ' </div>'>, <Text Node: ' <div style="display:n'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f1284306550>, <Text Node: '" align="right"><br> <u'>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
self | <Block Node: content. Contents: []> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.loader_tags.IncludeNode object at 0x7f12843062d0> |
bit | u'\n </div>\n <div id="tab-regulator" class="sub-page">\n ' |
bits | [u'\n<h5><span class="search_help"> Organism : <a href="/', u'bsu', u'">', u'Bacillus subtilis', u'</a>\n | Module List : ', u'\n \t\t\t\t <a href="/bsu/network/1" title="Explore Network"><img align="center" src="/static/images/network.gif"/></a></a>\n \t\t\t\t\t', u'\n </span>\n</h5>\n<div id="bicluster-top">\n <div class="sub-page">\n <div id="tabs" class="sub-page">\n <ul>\n\t <li><a class="name" href="#tab-main">', u'BSU21890', u'</a></li>\n\t <li><a class="network" href="#tab-network">Network</a></li>\n\t <li><a class="regulator" href="#tab-regulator">Regulation</a></li>\n\t <li><a class="motif" href="#tab-motif">Motifs</a></li>\n\t <li><a class="function" href="#tab-function">Functions</a></li>\n\t <li><a class="genes" href="#tab-gene">Module Members</a></li>\n\t ', u'\n\t <li><a class="gene-help" href="#tab-help">Help</a></li>\n\t <li><a class="social" href="#tab-social">Social</a></li>\n </ul>\n <div id="tab-main">\n\t\t <div class="main">\n <script type="text/javascript">\n var django_pssms = ', u'{5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]], 5002: [[0.0, 0.222222, 0.722222, 0.055556], [0.111111, 0.444444, 0.0, 0.444444], [0.111111, 0.277778, 0.555556, 0.055556], [0.0, 0.0, 0.166667, 0.833333], [0.222222, 0.166667, 0.444444, 0.166667], [0.0, 0.0, 1.0, 0.0], [0.222222, 0.055556, 0.722222, 0.0], [0.222222, 0.055556, 0.666667, 0.055556], [0.222222, 0.0, 0.388889, 0.388889], [0.833333, 0.0, 0.166667, 0.0], [0.333333, 0.0, 0.666667, 0.0], [0.111111, 0.222222, 0.277778, 0.388889], [0.555556, 0.0, 0.166667, 0.277778], [0.388889, 0.055556, 0.388889, 0.166667], [0.166667, 0.0, 0.111111, 0.722222], [0.0, 0.0, 0.5, 0.5], [0.277778, 0.0, 0.333333, 0.388889], [0.777778, 0.0, 0.222222, 0.0], [0.944444, 0.0, 0.055556, 0.0], [0.666667, 0.0, 0.166667, 0.166667], [0.611111, 0.0, 0.333333, 0.055556]], 5003: [[0.6875, 0.125, 0.1875, 0.0], [0.625, 0.3125, 0.0625, 0.0], [1.0, 0.0, 0.0, 0.0], [0.25, 0.0, 0.3125, 0.4375], [0.875, 0.0, 0.125, 0.0], [0.0, 0.0, 0.0625, 0.9375], [0.75, 0.125, 0.0, 0.125], [0.625, 0.0, 0.0, 0.375], [0.0, 0.0625, 0.25, 0.6875], [0.019474, 0.011776, 0.519474, 0.449276], [0.019474, 0.011776, 0.206974, 0.761776], [0.581974, 0.199276, 0.144474, 0.074276], [0.519474, 0.199276, 0.144474, 0.136776], [0.1875, 0.0, 0.8125, 0.0], [0.0, 0.25, 0.75, 0.0]], 5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]]}', u';\n $(document).ready(function() {\n var loaded = [false, false, false, false, false, false, false, false];\n $(\'#tabs\').tabs({\n // load network and motif tabs on demand\n activate: function (event, ui) {\n var index = $(\'#tabs\').tabs("option", "active");\n if (!loaded[index]) {\n switch (index) {\n case 1:\n var vis = nwhelpers.initNet... <trimmed 9724 bytes string> |
self | [<Text Node: ' <h5><span class="search_'>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a> '>, <For Node: for network in species.network_set.all, tail_len: 5>, <Text Node: ' </span> </h5> <div id'>, <Variable Node: gene.name>, <Text Node: '</a></li> <li><a cl'>, <Text Node: ' <li><a class="gene'>, <Variable Node: bicluster_pssms>, <Text Node: '; $(document).'>, <Variable Node: gene.bicluster_set.count>, <Text Node: ', "'>, <Variable Node: gene.name>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbe550>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbeb50>, <Text Node: '", '>, <IfNode>, <Text Node: ' var circle'>, <Variable Node: gene.name>, <Text Node: '', succ'>, <Variable Node: preview_motifs>, <Text Node: '); '>, <Variable Node: gene.display_name>, <Text Node: '</h5> <p><span '>, <Variable Node: gene.description>, <Text Node: '</span></p> <d'>, <Variable Node: gene.functions.count>, <Text Node: ')</h5> '>, <IfNode>, <Text Node: ' <!-- <h3'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>, <Text Node: ' </div> <div id='>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a><br/> <st'>, <Variable Node: gene.name>, <Text Node: ' <br/> <stron'>, <Variable Node: gene.geneid>, <Text Node: '">'>, <Variable Node: gene.geneid>, <Text Node: ' (NCBI) </a>, <a href="ht'>, <Variable Node: gene.name>, <Text Node: '">'>, <Variable Node: gene.name>, <Text Node: ' (MicrobesOnline) </a><br'>, <IfNode>, <Text Node: '</i><br/> <h5'>, <IfNode>, <Text Node: ' </table> '>, <IfNode>, <Text Node: '--> </div>'>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f1284306ed0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12843062d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846fa0d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846faf90>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0f50>, <Text Node: ' </div> <!-- '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0610>, <Text Node: ' </div> <div '>, <Variable Node: gene.name>, <Text Node: ' </h5> Please add y'>, <Text Node: ' </div>'>, <Text Node: ' <div style="display:n'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f1284306550>, <Text Node: '" align="right"><br> <u'>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <django.template.loader_tags.IncludeNode object at 0x7f12843062d0> |
self | [<Text Node: ' <h5><span class="search_'>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a> '>, <For Node: for network in species.network_set.all, tail_len: 5>, <Text Node: ' </span> </h5> <div id'>, <Variable Node: gene.name>, <Text Node: '</a></li> <li><a cl'>, <Text Node: ' <li><a class="gene'>, <Variable Node: bicluster_pssms>, <Text Node: '; $(document).'>, <Variable Node: gene.bicluster_set.count>, <Text Node: ', "'>, <Variable Node: gene.name>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbe550>, <Text Node: '", '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f127fcbeb50>, <Text Node: '", '>, <IfNode>, <Text Node: ' var circle'>, <Variable Node: gene.name>, <Text Node: '', succ'>, <Variable Node: preview_motifs>, <Text Node: '); '>, <Variable Node: gene.display_name>, <Text Node: '</h5> <p><span '>, <Variable Node: gene.description>, <Text Node: '</span></p> <d'>, <Variable Node: gene.functions.count>, <Text Node: ')</h5> '>, <IfNode>, <Text Node: ' <!-- <h3'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>, <Text Node: ' </div> <div id='>, <Variable Node: gene.species.short_name>, <Text Node: '">'>, <Variable Node: gene.species.name>, <Text Node: '</a><br/> <st'>, <Variable Node: gene.name>, <Text Node: ' <br/> <stron'>, <Variable Node: gene.geneid>, <Text Node: '">'>, <Variable Node: gene.geneid>, <Text Node: ' (NCBI) </a>, <a href="ht'>, <Variable Node: gene.name>, <Text Node: '">'>, <Variable Node: gene.name>, <Text Node: ' (MicrobesOnline) </a><br'>, <IfNode>, <Text Node: '</i><br/> <h5'>, <IfNode>, <Text Node: ' </table> '>, <IfNode>, <Text Node: '--> </div>'>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f1284306ed0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12843062d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846fa0d0>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f12846faf90>, <Text Node: ' </div> <div '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0f50>, <Text Node: ' </div> <!-- '>, <django.template.loader_tags.IncludeNode object at 0x7f127fca0610>, <Text Node: ' </div> <div '>, <Variable Node: gene.name>, <Text Node: ' </h5> Please add y'>, <Text Node: ' </div>'>, <Text Node: ' <div style="display:n'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f1284306550>, <Text Node: '" align="right"><br> <u'>, <Text Node: ' '>] |
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in six.iteritems(self.extra_context)
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)...
except Exception:
if context.template.engine.debug:
raise
return ''
Variable | Value |
---|---|
self | <django.template.loader_tags.IncludeNode object at 0x7f12843062d0> |
values | {} |
template | <django.template.base.Template object at 0x7f1284352c90> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)
else:
return self._render(context)...
finally:
context.render_context.pop()
class Token(object):
def __init__(self, token_type, contents):
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f1284352c90> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f1284352c90> |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Variable Node: influence_biclusters|influences_to_gene_description_map> |
bit | u' </h5> <span class="search_help">(Mouseover regulator name to see its description)</span> \n<p>\n<div class="tab-contents">\n <script type="text/javascript">\n $(document).ready(function() {\n ' |
bits | [u'', u'\n', u'', u'\n<a class="help" href="#regulation"><img align="right" src="/static/images/help.png" /></a>\n<h5> Regulation information for ', u'BSU21890', u' </h5> <span class="search_help">(Mouseover regulator name to see its description)</span> \n<p>\n<div class="tab-contents">\n <script type="text/javascript">\n $(document).ready(function() {\n '] |
self | [<django.template.defaulttags.LoadNode object at 0x7f1284212190>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f1284352e90>, <Text Node: ' <a class="help" href="#r'>, <Variable Node: gene>, <Text Node: ' </h5> <span class="searc'>, <Variable Node: influence_biclusters|influences_to_gene_description_map>, <Text Node: '; $('.reggene').o'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Variable Node: influence_biclusters|influences_to_gene_description_map> |
self | [<django.template.defaulttags.LoadNode object at 0x7f1284212190>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f1284352e90>, <Text Node: ' <a class="help" href="#r'>, <Variable Node: gene>, <Text Node: ' </h5> <span class="searc'>, <Variable Node: influence_biclusters|influences_to_gene_description_map>, <Text Node: '; $('.reggene').o'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </div> '>] |
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/debug.py
in render
e.django_template_source = node.source
raise
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
output = template_localtime(output, use_tz=context.use_tz)
output = localize(output, use_l10n=context.use_l10n)
output = force_text(output)
except UnicodeDecodeError:
return ''
except Exception as e:
Variable | Value |
---|---|
self | <Variable Node: influence_biclusters|influences_to_gene_description_map> |
e | TypeError('coercing to Unicode: need string or buffer, NoneType found',) |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
/usr/lib/python2.7/site-packages/django/template/base.py
in resolve
else:
arg_vals.append(arg.resolve(context))
if getattr(func, 'expects_localtime', False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
obj = mark_for_escaping(new_obj)
else:
obj = new_obj
Variable | Value |
---|---|
obj | [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)] |
context | [{'False': False, 'None': None, 'True': True}, {'key': u'cog', 'influence_biclusters': [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)], 'count_regulated_biclusters': 0, 'motif_id': 5691, 'species': <Species: Bacillus subtilis>, 'pssms': {5690: [[0.0, 0.0, 0.916667, 0.083333], [0.0, 0.333333, 0.333333, 0.333333], [1.0, 0.0, 0.0, 0.0], [0.083333, 0.25, 0.5, 0.166667], [0.75, 0.0, 0.083333, 0.166667], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.666667, 0.333333], [0.833333, 0.0, 0.083333, 0.083333], [0.833333, 0.083333, 0.0, 0.083333], [0.916667, 0.083333, 0.0, 0.0], [0.666667, 0.25, 0.0, 0.083333], [0.5, 0.166667, 0.0, 0.333333], [0.416667, 0.083333, 0.25, 0.25], [0.833333, 0.0, 0.0, 0.166667], [0.416667, 0.583333, 0.0, 0.0], [0.0, 0.5, 0.0, 0.5], [0.0, 0.25, 0.166667, 0.583333], [0.583333, 0.0, 0.0, 0.416667], [0.0, 0.0, 0.25, 0.75], [0.25, 0.083333, 0.0, 0.666667], [0.25, 0.0, 0.416667, 0.333333], [0.083333, 0.0, 0.083333, 0.833333]], 5691: [[0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 1.0], [0.0, 1.0, 0.0, 0.0]]}, 'functions': [<Function: Function: COG1418, Predicted HD superfamily hydrolase, cog, cog>], 'network': <Network: Bacillus_subtilis network>, 'system': {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}, 'preview_motifs': [5002, 5690], 'systems': [{'functions': [u'(<a href="http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:0003824">GO:0003824</a>) catalytic activity'], 'name': 'GO Gene Ontology'}, {'functions': [u'(<a href="http://www.ncbi.nlm.nih.gov/COG/grace/wiew.cgi?COG1418">COG1418</a>) Predicted HD superfamily hydrolase'], 'name': 'COG Clusters of Orthologous Groups'}], 'motifs': [<Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>, <Motif: Motif object>], 'neighbor_genes': [<Gene: BSU02330>, <Gene: BSU05140>, <Gene: BSU06090>, <Gene: BSU06100>, <Gene: BSU06540>, <Gene: BSU07370>, <Gene: BSU07460>, <Gene: BSU07480>, <Gene: BSU08730>, <Gene: BSU08750>, <Gene: BSU09920>, <Gene: BSU10290>, <Gene: BSU10630>, <Gene: BSU13630>, <Gene: BSU13860>, <Gene: BSU13870>, <Gene: BSU18050>, <Gene: BSU18060>, <Gene: BSU18070>, <Gene: BSU18080>, <Gene: BSU18130>, <Gene: BSU18140>, <Gene: BSU19540>, <Gene: BSU21890>, <Gene: BSU21900>, <Gene: BSU21920>, <Gene: BSU23060>, <Gene: BSU23810>, <Gene: BSU27300>, <Gene: BSU28430>, <Gene: BSU30370>, <Gene: BSU30630>, <Gene: BSU31920>, <Gene: BSU32890>, <Gene: BSU32900>, <Gene: BSU32910>, <Gene: BSU32920>, <Gene: BSU35609>, <Gene: BSU... <trimmed 7608 bytes string> |
arg_vals | [] |
self | <django.template.base.FilterExpression object at 0x7f1284352050> |
args | [] |
ignore_failures | False |
func | <function influences_to_gene_description_map at 0x7f128c27c050> |
/local/apache-stuff/network_portal/web_app/networks/templatetags/filters.py
in influences_to_gene_description_map
# note that parts might not be a gene - could be environmental factor
for part in influence.parts.all():
# print "part=%s" % (str(part),)
if part.gene:
gene_description_map[part.name] = part.gene.description.strip()
result = 'var descriptionMap = {}\n';
for key, description in gene_description_map.items():
result += 'descriptionMap[\'' + key + '\'] = "' + description + '";\n';...
#print "# descriptions: ", len(gene_description_map)
return mark_safe(result);
@register.filter
def motif1consensus(bicluster):
Variable | Value |
---|---|
description | None |
influence | <Influence: BSU36600> |
influence_biclusters | [(<Bicluster: Bicluster 389>, <Influence: BSU03890>), (<Bicluster: Bicluster 389>, <Influence: BSU04820>), (<Bicluster: Bicluster 389>, <Influence: BSU05370>), (<Bicluster: Bicluster 389>, <Influence: BSU05970>), (<Bicluster: Bicluster 389>, <Influence: BSU06140>), (<Bicluster: Bicluster 389>, <Influence: BSU06700>), (<Bicluster: Bicluster 389>, <Influence: BSU13870>), (<Bicluster: Bicluster 389>, <Influence: BSU19540>), (<Bicluster: Bicluster 389>, <Influence: BSU27000>), (<Bicluster: Bicluster 389>, <Influence: BSU33010>), (<Bicluster: Bicluster 389>, <Influence: BSU33221>), (<Bicluster: Bicluster 389>, <Influence: BSU36600>), (<Bicluster: Bicluster 389>, <Influence: BSU40800>), (<Bicluster: Bicluster 20>, <Influence: BSU02000>), (<Bicluster: Bicluster 20>, <Influence: BSU02160>), (<Bicluster: Bicluster 20>, <Influence: BSU02320>), (<Bicluster: Bicluster 20>, <Influence: BSU03890>), (<Bicluster: Bicluster 20>, <Influence: BSU05970>), (<Bicluster: Bicluster 20>, <Influence: BSU06540>), (<Bicluster: Bicluster 20>, <Influence: BSU17850>), (<Bicluster: Bicluster 20>, <Influence: BSU22120>), (<Bicluster: Bicluster 20>, <Influence: BSU36600>)] |
result | u'var descriptionMap = {}\ndescriptionMap[\'BSU17850\'] = "LexA repressor (RefSeq)";\ndescriptionMap[\'BSU22120\'] = "Kdg operon transcriptional regulator (LacI family) (RefSeq)";\ndescriptionMap[\'BSU04820\'] = "phage element (ICEBs1)transcriptional regulator (Xre family) (RefSeq)";\ndescriptionMap[\'BSU36600\'] = "transcriptional regulator (MerR family) (RefSeq)";\ndescriptionMap[\'BSU06540\'] = "putative transcriptional regulator (Lrp/AsnC family) (RefSeq)";\ndescriptionMap[\'BSU33010\'] = "two-component response regulator (RefSeq)";\ndescriptionMap[\'BSU05970\'] = "redox-sensing transcriptional repressor Rex (RefSeq)";\ndescriptionMap[\'BSU40800\'] = "putative transcriptional regulator (MerR family) (RefSeq)";\ndescriptionMap[\'BSU13870\'] = "putative transcriptional regulator (LacI family) (RefSeq)";\ndescriptionMap[\'BSU05370\'] = "putative PLP-dependent transcriptional regulator (RefSeq)";\ndescriptionMap[\'BSU02000\'] = "two-component response regulator [YbdK] (RefSeq)";\n' |
key | u'BSU33221' |
bicluster_id | <Bicluster: Bicluster 20> |
gene_description_map | {u'BSU02000': u'two-component response regulator [YbdK] (RefSeq)', u'BSU02160': u'hypothetical protein (RefSeq)', u'BSU02320': u'putative transcriptional regulator (AraC/XylS family) (RefSeq)', u'BSU03890': u'transcriptional regulator (GntR/MocR family) with PLP binding site (RefSeq)', u'BSU04820': u'phage element (ICEBs1)transcriptional regulator (Xre family) (RefSeq)', u'BSU05370': u'putative PLP-dependent transcriptional regulator (RefSeq)', u'BSU05970': u'redox-sensing transcriptional repressor Rex (RefSeq)', u'BSU06140': u'transcriptional regulator of the glucitol operon (RefSeq)', u'BSU06540': u'putative transcriptional regulator (Lrp/AsnC family) (RefSeq)', u'BSU06700': u'putative transcriptional regulator (TetR/AcrR family) (RefSeq)', u'BSU13870': u'putative transcriptional regulator (LacI family) (RefSeq)', u'BSU17850': u'LexA repressor (RefSeq)', u'BSU19540': u'transcriptional repressor (RefSeq)', u'BSU22120': u'Kdg operon transcriptional regulator (LacI family) (RefSeq)', u'BSU27000': u'putative transcriptional regulator (MerR family) (RefSeq)', u'BSU33010': u'two-component response regulator (RefSeq)', u'BSU33221': None, u'BSU36600': u'transcriptional regulator (MerR family) (RefSeq)', u'BSU40800': u'putative transcriptional regulator (MerR family) (RefSeq)'} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
CONTEXT_DOCUMENT_ROOT | '/local/apache-stuff/network_portal' |
SERVER_SOFTWARE | 'Apache' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/bsu/gene/BSU21890' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '3.237.91.98' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'networks.systemsbiology.net' |
REMOTE_ADDR | '10.3.0.181' |
mod_wsgi.queue_start | '1711651311721349' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py/bsu/gene/BSU21890' |
SERVER_PORT | '443' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '10.2.8.50' |
DOCUMENT_ROOT | '/local/apache-stuff/network_portal' |
mod_wsgi.process_group | 'networks-ssl' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_FILENAME | '/local/apache-stuff/network_portal/web_app/nwportal/wsgi.py' |
SERVER_ADMIN | 'root@localhost' |
wsgi.input | <mod_wsgi.Input object at 0x7f127eeea0f0> |
HTTP_HOST | 'networks.systemsbiology.net' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/bsu/gene/BSU21890' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '3.237.91.98' |
wsgi.errors | <mod_wsgi.Log object at 0x7f127eeea130> |
REMOTE_PORT | '41658' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'https' |
mod_wsgi.version | (3, 4) |
wsgi.run_once | False |
mod_wsgi.application_group | '' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'v8BSIBeITOLAH8pHffPquKO9EAvP94IU' |
UNIQUE_ID | 'ZgW57zqWPENE3IMVS0z94gAAAA8' |
nwportal.settings.production
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
TIME_ZONE | 'America/Vancouver' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'nwportal.urls' |
MANAGERS | () |
KBASE_UJS_SERVICE_URL | 'https://kbase.us/services/userandjobstate' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
STATIC_ROOT | '/local/htdocs/nwportal' |
USERDATA_ROOT | '/local/nwportaluserdata' |
USE_THOUSAND_SEPARATOR | False |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ORGANISM_SERVICE_HOST | 'http://condor:5000' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'network_portal', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'dj_ango'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.request', 'django.core.context_processors.static', 'django.core.context_processors.debug', 'django.contrib.messages.context_processors.messages') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
KBASE_USER | '' |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('social_core.backends.google.GoogleOAuth2', 'django.contrib.auth.backends.ModelBackend') |
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | u'********************' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.admin', 'social_django', 'networks', 'inference', 'nwpadmin', 'search') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/local/apache-stuff/network_portal/web_app/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
KBASE_DATA_WORKSPACE | 'nwportal:nwportal_data' |
KBASE_INF_SERVICE_URL | 'http://140.221.67.196:7113' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
KBASE_PASSWD | u'********************' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | u'********************' |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
KBASE_WS_SERVICE_URL | 'https://kbase.us/services/ws' |
PROJECT_ROOT | '/local/apache-stuff/network_portal/web_app/nwportal/settings/../..' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
SOCIAL_AUTH_URL_NAMESPACE | 'social' |
SOLR_SELECT_MODULES | 'http://localhost:8983/solr/nwportal_adv/select/' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
SOLR_SUGGEST | 'http://localhost:8983/solr/nwportal/suggest/?wt=json&json.wrf=?' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
KBASE_CMRESULTS_WORKSPACE | 'nwportal:cmtestresults' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/local/apache-stuff/network_portal/web_app/templates', '/local/apache-stuff/network_portal/web_app/networks/templates') |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
USE_I18N | True |
CMONKEY_RABBITMQ | u'********************' |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
KBASE_CM_SERVICE_URL | 'http://140.221.67.196:7112' |
SOLR_SELECT_GENES | 'http://localhost:8983/solr/nwportal/select/' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CSRF_COOKIE_AGE | 31449600 |
EMAIL_USE_SSL | False |
SESSION_COOKIE_HTTPONLY | True |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'nwportal.settings.production' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.