Commit a7904902 authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

fix lines in datfile

parent 21a339e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,5 +72,5 @@ def write_simulation_info(simulator, configuration, pointing, datfile):
        with open(datfile, 'w+') as f:
            f.write('name seed start stop duration source_ra source_dec point_ra point_dec offset\n')
    with open(datfile, 'a') as f:
        f.write(f'{name} {seed} {tstart} {tstop} {duration} {source_ra} {source_dec} {point_ra} {point_dec} {offset}')
        f.write(f'{name} {seed} {tstart} {tstop} {duration} {source_ra} {source_dec} {point_ra} {point_dec} {offset}\n')
    return
 No newline at end of file