mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Make sure that column count and lines are defined
This commit is contained in:
@@ -351,8 +351,8 @@ class Arff(Text):
|
||||
5.1,3.5,1.4,0.2,Iris-setosa
|
||||
4.9,3.0,1.4,0.2,Iris-setosa
|
||||
"""
|
||||
comment_lines = column_count = 0
|
||||
if dataset.has_data():
|
||||
comment_lines = 0
|
||||
first_real_line = False
|
||||
data_block = False
|
||||
with open(dataset.file_name) as handle:
|
||||
|
||||
Reference in New Issue
Block a user