Commit 613000e7 authored by marc's avatar marc
Browse files

Initial commit

parent fdbcc43b
......@@ -76,15 +76,14 @@ class CreatePointings(Ui_FormCreatePoinings):
def writePointings(self):
logger.debug('Start writePointings')
index=0
with open('pointings.dat','w') as f:
with open('../templates/pointings.dat','w') as f:
for pointing in self.measList:
f.write('{}\t{}\t{}\n'.format(index, self.measList[index].ra.deg, self.measList[index].dec.deg) )
logger.debug('{}\t{}\t{}\n'.format(index, self.measList[index].ra.deg, self.measList[index].dec.deg) )
f.write('{}\t{}\t{}\n'.format(index, pointing.ra.deg, pointing.dec.deg) )
logger.debug('{}\t{}\t{}\n'.format(index, pointing.ra.deg, pointing.dec.deg))
index+=1
f.flush()
logger.debug('End createPointings')
f.close()
sys.exit(app.exec_())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment