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
import argparse
FILE = '/mnt/TAP9701/2021-08-11_Pm_ddresc_mapfile'
visu = v.Visualisation(FILE, start=1000**3, end=30*1000**3)
ap = argparse.ArgumentParser()
ap.add_argument('file', type=str)
ap.add_argument("--start", type=int)
ap.add_argument("--end", type=int)
def redraw():
visu.reload()
args = ap.parse_args()
while True:
redraw()
sleep(5)
visu = v.Visualisation(args.file, start=args.start, end=args.end)
visu.run(refresh=5)

Loading…
Cancel
Save