Report
This commit 5ccf921 made .obsmap / .varmap fields to be of type MappingProxyType, which broke the in-place filtering implemented e.g. in muon:
FAILED tests/test_muon_preproc.py::TestInPlaceFiltering::test_filter_obs_mdata - TypeError: 'mappingproxy' object does not support item assignment
It might be enough to implement @obsmap.setter and @varmap.setter to fix it.
Report
This commit 5ccf921 made
.obsmap/.varmapfields to be of typeMappingProxyType, which broke the in-place filtering implemented e.g. inmuon:It might be enough to implement
@obsmap.setterand@varmap.setterto fix it.