Remove bad constants from the test.

TODO: Also remove constants from draw.py
master
LEdoian 3 years ago
parent 70e3602445
commit d16758a5b9

@ -3,12 +3,15 @@ import ddresc_visu.draw as v
from time import sleep from time import sleep
import argparse import argparse
FILE = '/mnt/TAP9701/2021-08-11_Pm_ddresc_mapfile' ap = argparse.ArgumentParser()
visu = v.Visualisation(FILE, start=1000**3, end=30*1000**3) ap.add_argument('file', type=str)
ap.add_argument("--start", type=int)
ap.add_argument("--end", type=int)
def redraw(): args = ap.parse_args()
visu.reload()
while True: visu = v.Visualisation(args.file, start=args.start, end=args.end)
redraw()
sleep(5)
visu.run(refresh=5)

Loading…
Cancel
Save