Skip to content
Snippets Groups Projects
Commit 6fa266d7 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

TAsk #11473: Exit with error when no rotation value found for station

parent 7c2a9f41
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,8 @@ def getRotation(station, anttype): ...@@ -26,7 +26,8 @@ def getRotation(station, anttype):
if record != None: if record != None:
rotation = float(record[2]) rotation = float(record[2])
return(rotation) return(rotation)
return(0.0) print "Could not find field rotation for station",station,anttype
exit(1)
## ##
def getRotationMatrix(station, anttype): def getRotationMatrix(station, anttype):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment