diff options
author | Pjotr Prins | 2015-04-13 08:14:43 +0000 |
---|---|---|
committer | Pjotr Prins | 2015-04-13 08:14:43 +0000 |
commit | 102523493e2f8a7660c63f117f1d8dfd009eff02 (patch) | |
tree | bb7184bbe45338c6475497ab0734083aa8ab226f | |
parent | 1823434ff8b54df0bd8ce1d7d19a37d74e850dd5 (diff) | |
download | genenetwork2-102523493e2f8a7660c63f117f1d8dfd009eff02.tar.gz |
Improved assertion message
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/tsvreader.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/tsvreader.py b/wqflask/wqflask/my_pylmm/pyLMM/tsvreader.py index b4027fa3..b24ffe8f 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/tsvreader.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/tsvreader.py @@ -56,7 +56,8 @@ def geno(fn): print fn with open(fn,'r') as tsvin: - assert(tsvin.readline().strip() == "# Genotype format version 1.0") + line = tsvin.readline().strip() + assert line == "# Genotype format version 1.0", line tsvin.readline() tsvin.readline() tsvin.readline() |