diff --git a/calibrate.py b/calibrate.py index 47faa04..b699b55 100755 --- a/calibrate.py +++ b/calibrate.py @@ -47,13 +47,13 @@ if __name__ == '__main__': command = "solve-field -O -y -u app -L %s -H %s --downsample 2 " % (low_app, high_app) if (not no_sex): command = command + \ - "--use-sextractor --sextractor-config %s --x-column X_IMAGE " % sex_config + \ - "--y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending " + "--use-sextractor --sextractor-config %s --x-column X_IMAGE " % sex_config + \ + "--y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending " command = command + \ - "--no-plots -T -N %s/test.fits %s" % (path, file_for_astrometry) + "--no-plots -T -N %s/test.fits %s" % (path, file_for_astrometry) # Run solve-field subprocess.run(command, shell=True, stderr=subprocess.STDOUT) else: - print("No fits file found for astrometric solving.") \ No newline at end of file + print("No fits file found for astrometric solving.") diff --git a/process.py b/process.py index 7581115..73a9815 100755 --- a/process.py +++ b/process.py @@ -241,7 +241,7 @@ if __name__ == "__main__": # Sleep try: print("File queue empty, waiting for new files...\r", end = '') - time.sleep(10) + time.sleep(1) except KeyboardInterrupt: fstat.close() sys.exit()