fixes
This commit is contained in:
@@ -41,7 +41,7 @@ def get_image(filename, exp_time):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = ap.ArgumentParser(
|
parser = ap.ArgumentParser(
|
||||||
prog=sys.argv[1],
|
prog=sys.argv[0],
|
||||||
description="FLI CCD and focuser hardware: focussing sequence implementation. It is assumed that 'fli_control' software is installed in the OS.",
|
description="FLI CCD and focuser hardware: focussing sequence implementation. It is assumed that 'fli_control' software is installed in the OS.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ def get_image(filename, exp_time):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = ap.ArgumentParser(prog=sys.argv[1])
|
parser = ap.ArgumentParser(prog=sys.argv[0])
|
||||||
|
|
||||||
parser.add_argument("focus_start", help="focus start value", type=float)
|
parser.add_argument("focus_start", help="focus start value", type=float)
|
||||||
parser.add_argument("focus_stop", help="focus stop value", type=float)
|
parser.add_argument("focus_stop", help="focus stop value", type=float)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ def get_image(filename, exp_time):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = ap.ArgumentParser(prog=sys.argv[1])
|
parser = ap.ArgumentParser(prog=sys.argv[0])
|
||||||
|
|
||||||
parser.add_argument("focus_start", help="focus start value", type=float)
|
parser.add_argument("focus_start", help="focus start value", type=float)
|
||||||
parser.add_argument("focus_stop", help="focus stop value", type=float)
|
parser.add_argument("focus_stop", help="focus stop value", type=float)
|
||||||
|
|||||||
Reference in New Issue
Block a user