leondz / cavat

Automatically exported from code.google.com/p/cavat
3 stars 1 forks source link

Should fail an import or at least report if an illegal reltype is used #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, if we have (e.g.) a <TLINK lid="l100" relType="INCLUDED_BY" ... /> - 
which should have relType IS_INCLUDED - the the reltype column is left blank 
and the only error that appears is a cryptic:

/home/leon/time/cavat/importTimeML.py:130: Warning: Data truncated for column 
'relType' at row 1
  self.cursor.execute(sql)

Original issue reported on code.google.com by leonderczynski on 2 Jan 2011 at 12:35