replace split from whitespace to tabspace
authorrishucoding <rishucoding@gmail.com>
Tue, 12 Jun 2018 09:27:17 +0000 (14:57 +0530)
committerrishucoding <rishucoding@gmail.com>
Tue, 12 Jun 2018 09:27:17 +0000 (14:57 +0530)
src/parse.py

index 02c9ea94e241f996b803593393cb9af063ddf44e..61bc8e12a855d760fc8dd602310119fdf8d6e609 100644 (file)
@@ -45,7 +45,7 @@ class Parse(object):
             fname = os.path.join(pth, fname)
         with open(fname) as pinmapfile:
             for lineno, line in enumerate(pinmapfile):
-                line1 = line.split()
+                line1 = line.split('\t')
                 if len(line1) <= 1:
                     continue
                 self.pinnumbers.append(int(line1[0]))