Some xlsx files do not contain any _rels file. The tables was thus
never set. Trying to read these tables in turn made it panic.
While the whole table code may need some attention, this PR only
tries to fix this behavior.
Some aspects that may need to be addressed are:
it should not panic, returning an XlsxError is better
calling load_tables then table_names, while more optimal is certain scenario is not very user friendly. At the very least we should provide a function which is doing both of it at once.
Some xlsx files do not contain any _rels file. The tables was thus never set. Trying to read these tables in turn made it panic.
While the whole table code may need some attention, this PR only tries to fix this behavior.
Some aspects that may need to be addressed are:
load_tables
thentable_names
, while more optimal is certain scenario is not very user friendly. At the very least we should provide a function which is doing both of it at once.Close #401