def update_chronology(self, name, doses):
    p = os.path.join(paths.meta_root, name, 'chronology.txt')
    dump_chronology(p, doses)
    self.add(p, commit=False)
def update_chronology(self, name, doses):
    p = os.path.join(paths.meta_root, name, 'chronology.txt')
    dump_chronology(p, doses)
    self.add(p, commit=False)