Add ref as a valid survex command to prevent errors

This commit is contained in:
Sam Wenham 2018-04-14 16:13:21 +01:00
parent f60df05aab
commit e6b12e99e6

View File

@ -206,7 +206,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
survexblock.MakeSurvexStation(line.split()[0]) survexblock.MakeSurvexStation(line.split()[0])
else: 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) print ("Unrecognised command in line:", cmd, line, survexblock)