From d159b921ebcfd502e63cb21fd6d6bf33baa0b836 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 27 Apr 2016 13:14:19 +0200 Subject: [PATCH] Fixed obi import trying to print all lines at the end (source of segfault?) --- python/obitools3/commands/import.pyx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python/obitools3/commands/import.pyx b/python/obitools3/commands/import.pyx index 7df883b..923a63a 100644 --- a/python/obitools3/commands/import.pyx +++ b/python/obitools3/commands/import.pyx @@ -106,7 +106,7 @@ def run(config): raise RuntimeError('No file format specified') # Temporary way to handle NA values - NA_list = ["nan"] + #NA_list = ["nan"] # Create DMS d = OBIDMS(config['obi']['defaultdms']) @@ -126,10 +126,11 @@ def run(config): view[i][tag] = seq['tags'][tag] i+=1 - print(view) - # print(view.__repr__()) + #print(view) + print(view.__repr__()) view.save_and_close() d.close() - + + print("Done.") \ No newline at end of file