Fixed obi import trying to print all lines at the end (source of

segfault?)
This commit is contained in:
Celine Mercier
2016-04-27 13:14:19 +02:00
parent 4e4cf46b16
commit d159b921eb

View File

@ -106,7 +106,7 @@ def run(config):
raise RuntimeError('No file format specified') raise RuntimeError('No file format specified')
# Temporary way to handle NA values # Temporary way to handle NA values
NA_list = ["nan"] #NA_list = ["nan"]
# Create DMS # Create DMS
d = OBIDMS(config['obi']['defaultdms']) d = OBIDMS(config['obi']['defaultdms'])
@ -126,10 +126,11 @@ def run(config):
view[i][tag] = seq['tags'][tag] view[i][tag] = seq['tags'][tag]
i+=1 i+=1
print(view) #print(view)
# print(view.__repr__()) print(view.__repr__())
view.save_and_close() view.save_and_close()
d.close() d.close()
print("Done.")