def save_sensitivities(self, sens):
    ps = []
    for (k, v) in sens.items():
        root = os.path.join(paths.meta_root, 'spectrometers')
        p = os.path.join(root, add_extension('{}.sens'.format(k), '.json'))
        dvc_dump(v, p)
        ps.append(p)
    if self.add_paths(ps):
        self.commit('Updated sensitivity')
def save_sensitivities(self, sens):
    ps = []
    for (k, v) in sens.items():
        root = os.path.join(paths.meta_root, 'spectrometers')
        p = os.path.join(root, add_extension('{}.sens'.format(k), '.json'))
        dvc_dump(v, p)
        ps.append(p)
    if self.add_paths(ps):
        self.commit('Updated sensitivity')