sssom-py
sssom-py copied to clipboard
Validate() should be run as part of write_table()
It will cause a lot of errors at first, but overall, it will lead to better mapping data. The suggestion is that whenever we call write_table(), the final part of all sssom generating CLI methods, we should run the validator to make sure we only ever output legal sssom.
I suggest parameterizing and allowing overrides, it may be necessary to occasionally write something incorrect in order to repair it.
Maybe this is not a good idea after all. Closing.