Skip to content

Commit

Permalink
Trying to solve the peek issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bensellak committed Mar 4, 2019
1 parent eb50086 commit 546e728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/microarrays.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def set_peek(self, dataset, is_multi_byte=False):
dataset.blurb = "1 block %s recodrs" % dataset.metadata.number_of_records
else:
dataset.blurb = "%s blocks %s recodrs" % (dataset.metadata.number_of_blocks, dataset.metadata.number_of_records)
dataset.peek = get_file_peek(dataset.file_name)
dataset.peek = get_file_peek(dataset.file_name, WIDTH=60, LINE_COUNT=3, line_wrap=False)
else:
dataset.peek = 'file does not exist'
dataset.blurb = 'file purged from disk'
Expand Down

0 comments on commit 546e728

Please sign in to comment.