|
self._mappings["wavelengths"] = self._gen_mapping() |
Since we use set_item here, the mapping id does not get updated by the mix-in class, which requires that you do specifically self._mappings = new_mapping.
I expect this may be a common error, perhaps we should look into solutions to make the version that at least rewrites the top level of entries automatically properly increment mapping_id.