#NEWLINE# @ transform ( ( makeOverlapAll , makeOverlapUnknown , makeOverlapAmbiguous , makeOverlapKnown , makeOverlapPC ) , suffix ( '.table' ) , '_table.import' ) #NEWLINE# def importOverlap( infile , outfile ) : #NEWLINE# #INDENT# 'import results of overlap computation.' #NEWLINE# tablename = outfile [ : ( - len ( '_table.import' ) ) ] #NEWLINE# statement = '\n\tgrep -v "\\bna\\b" \n        < %(infile)s \n        |python %(scriptsdir)s/csv2db.py %(csv2db_options)s\n             --map set1:str \n             --map set2:str \n             --index=set1 \n             --index=set2 \n             --table=%(tablename)s\n        > %(outfile)s\n    ' #NEWLINE# P . run ( )