From a24d2ee43fbb8e9ddf5b5d8d6c01bfceaad045b5 Mon Sep 17 00:00:00 2001
From: Owen Graham <ohgraham1@madisoncollege.edu>
Date: Tue, 24 May 2022 17:02:30 -0500
Subject: [PATCH] Fix `cols` conversion

---
 asccol.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/asccol.py b/asccol.py
index 9090672..7cfb5d1 100644
--- a/asccol.py
+++ b/asccol.py
@@ -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))
 
-- 
GitLab