def _apply_unit_derivatives(self):
        if self.deriv_units:
            for name, acc in iteritems(self._dat):
                meta = acc.meta
                if 'unit_conv' in meta:
                    acc.val *= meta['unit_conv'][0]

    # def _apply_units(self):
    #     """ Applies the unit conversion factor to params
    #     sitting in vector.
    #     """
    #     for name, acc in iteritems(self._dat):
    #         meta = acc.meta
    #         if 'unit_conv' in meta and acc.owned:
    #             scale, offset = meta['unit_conv']
    #             val = meta['val']
    #             if offset != 0.0:
    #                 val += offset
    #             val *= scale
Get the method resolution order bor an old-style class.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/vec_wrapper.py/TgtVecWrapper._apply_unit_derivatives--crossover with--dataset/ETHPy150Open cloudmatrix/esky/esky/sudo/__init__.py/_get_oldstyle_mro