Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
record
workbench4record
Commits
ac46d21e
Commit
ac46d21e
authored
Sep 28, 2018
by
Dannon Baker
Browse files
Merge remote-tracking branch 'upstream/release_17.09' into release_18.01
parents
71b56151
40cecf6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/galaxy/webapps/galaxy/controllers/root.py
View file @
ac46d21e
...
...
@@ -252,20 +252,6 @@ class RootController(controller.JSAppLauncher, UsesAnnotations):
else
:
return
"No data with id=%d"
%
id
@
web
.
expose
def
peek
(
self
,
trans
,
id
=
None
):
"""Returns a 'peek' at the data.
"""
# TODO: unused?
# TODO: unencoded id
data
=
trans
.
sa_session
.
query
(
self
.
app
.
model
.
HistoryDatasetAssociation
).
get
(
id
)
if
data
:
yield
"<html><body><pre>"
yield
data
.
peek
yield
"</pre></body></html>"
else
:
yield
"No data with id=%d"
%
id
# ---- History management -----------------------------------------------
@
web
.
expose
def
history_delete
(
self
,
trans
,
id
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment