Changed the cython API to create new views so as to have different

functions for the different cases
This commit is contained in:
Celine Mercier
2016-12-07 14:17:57 +01:00
parent 936be64c34
commit fa4e4ffaff
4 changed files with 64 additions and 51 deletions

View File

@ -77,7 +77,7 @@ def run(config):
selection.append(i)
# Create output view with the line selection
oview = d.new_view(config['obi']['outputview'], line_selection=selection, comments="obi grep: "+str(config['grep']['predicates'])+"\n")
oview = d.clone_view_with_line_selection(config['obi']['outputview'], selection, comments="obi grep: "+str(config['grep']['predicates'])+"\n")
#print("\n")
#print(repr(oview))