def set_preprocess(self, fn):
        if fn is None:
            fn = lambda x: x
        self.preprocess = fn
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/plugins/Mosaic.py/Mosaic.set_preprocess/original