From 6a63196a6767cbbea5b856e7b31d36a3e1d5e9b8 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Tue, 10 Dec 2013 09:44:36 +0000 Subject: [PATCH] Created function to process the list of column types and return a numpy dtype --- BioLogic.py | 96 +++++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 51 deletions(-) diff --git a/BioLogic.py b/BioLogic.py index 0d7701c..4b9935e 100644 --- a/BioLogic.py +++ b/BioLogic.py @@ -8,6 +8,7 @@ import csv from os import SEEK_SET, SEEK_CUR import time from datetime import date +from collections import OrderedDict import numpy as np @@ -129,19 +130,28 @@ VMPmodule_hdr = np.dtype([('shortname', 'S10'), ('length', '