Skip to content
6 changes: 3 additions & 3 deletions AstrometryCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



class AstrometryCheck():
class AstrometryCheck:

def __init__(self,catlistFile):
self.catlist = catlistFile
Expand All @@ -30,7 +30,7 @@ def __init__(self,catlistFile):
if first:
first = False
continue
tokens = string.split(line,',')
tokens = line.split(',')
self.ra_cent.append(float(tokens[7]))
self.dec_cent.append(float(tokens[8]))
self.rac1.append(float(tokens[9]))
Expand Down Expand Up @@ -95,4 +95,4 @@ def checkDiff(self):
if astrT.checkDiff() < 0:
sys.exit(-1)
else:
sys.exit(0)
sys.exit(0)
Loading