def add_chronology(self, irrad, doses, add=True):
    p = os.path.join(paths.meta_root, irrad, 'chronology.txt')
    dump_chronology(p, doses)
    if add:
        self.add(p, commit=False)
def add_chronology(self, irrad, doses, add=True):
    p = os.path.join(paths.meta_root, irrad, 'chronology.txt')
    dump_chronology(p, doses)
    if add:
        self.add(p, commit=False)