mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't set peek in display_peek method
This commit is contained in:
@@ -337,10 +337,10 @@ class Data(metaclass=DataMeta):
|
||||
|
||||
def display_peek(self, dataset: DatasetProtocol) -> str:
|
||||
"""Create HTML table, used for displaying peek"""
|
||||
if not dataset.peek:
|
||||
return "Peek not available"
|
||||
out = ['<table cellspacing="0" cellpadding="3">']
|
||||
try:
|
||||
if not dataset.peek:
|
||||
dataset.set_peek()
|
||||
data = dataset.peek
|
||||
lines = data.splitlines()
|
||||
for line in lines:
|
||||
|
||||
Reference in New Issue
Block a user