mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Provide convenience attribute for logging in IE mako.
This commit is contained in:
@@ -35,6 +35,7 @@ notebook_access_url = ie_request.url_template('${PROXY_URL}/ipython/${PORT}/note
|
||||
notebook_login_url = ie_request.url_template('${PROXY_URL}/ipython/${PORT}/login?next=%2Fipython%2F${PORT}%2Ftree')
|
||||
|
||||
docker_cmd = ie_request.docker_cmd(temp_dir)
|
||||
ie_request.log.info("Starting IPython docker container with command [%s]" % docker_cmd)
|
||||
subprocess.call(docker_cmd, shell=True)
|
||||
%>
|
||||
<html>
|
||||
|
||||
@@ -11,6 +11,9 @@ eggs.require("PyYAML")
|
||||
import yaml
|
||||
from galaxy.managers import api_keys
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class InteractiveEnviornmentRequest(object):
|
||||
|
||||
@@ -18,6 +21,7 @@ class InteractiveEnviornmentRequest(object):
|
||||
plugin_config = plugin.config
|
||||
|
||||
self.trans = trans
|
||||
self.log = log
|
||||
|
||||
self.attr = Bunch()
|
||||
self.attr.viz_id = plugin_config["name"].lower()
|
||||
|
||||
Reference in New Issue
Block a user