From c939013b14ae765be640c42d7302fd469759ec43 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Sat, 14 Apr 2018 16:13:21 +0100 Subject: [PATCH] Add ref as a valid survex command to prevent errors --- parsers/survex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsers/survex.py b/parsers/survex.py index ed70a4b..0c108ac 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -206,7 +206,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines): survexblock.MakeSurvexStation(line.split()[0]) else: - if not cmd in [ "sd", "include", "units", "entrance", "data", "flags", "title", "export", "instrument", "calibrate", "set", "infer", "alias" ]: + if not cmd in [ "sd", "include", "units", "entrance", "data", "flags", "title", "export", "instrument", "calibrate", "set", "infer", "alias", "ref" ]: print ("Unrecognised command in line:", cmd, line, survexblock)