Skip to content
Snippets Groups Projects
Verified Commit a24d2ee4 authored by Owen Graham's avatar Owen Graham
Browse files

Fix `cols` conversion

parent b693f4b2
No related branches found
Tags 0.2.16
No related merge requests found
......@@ -9,7 +9,8 @@ class DataSpec:
"""Details about how to parse an aligned data file."""
def __init__(self, cols, leading=0):
self.cols = tuple(map(Column._make, cols))
cols = tuple(map(Column._make, cols))
self.cols = cols
self.leading = leading
self.namedtuple = namedtuple('row', (col.name for col in cols))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment