mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
allow for comment lines in Otu files
This commit is contained in:
@@ -29,7 +29,7 @@ class Otu(Text):
|
||||
|
||||
headers = get_headers(dataset.file_name, sep='\t', count=-1)
|
||||
for line in headers:
|
||||
if len(line) >= 2:
|
||||
if len(line) >= 2 and not line[0].startswith('@'):
|
||||
data_lines += 1
|
||||
ncols = max(ncols, len(line))
|
||||
label_names.add(line[0])
|
||||
|
||||
Reference in New Issue
Block a user