cldf / pycldf

python package to read and write CLDF datasets
https://cldf.clld.org
Apache License 2.0
15 stars 7 forks source link

Handle tables without explicitly specified dc:conformsTo property gracefully #102

Closed xrotwang closed 4 years ago

xrotwang commented 4 years ago

Tables without explicit dc:conformsTo property will make SQLite conversion fail.

Dataset.add_table should add t.common_props['dc:conformsTo'] = None by default, and Database.__init__ should be able to deal with get_tabletype raising ValueError.