Skip to content

Commit

Permalink
-f option now implies --com
Browse files Browse the repository at this point in the history
otherwise it would be useless
  • Loading branch information
rieder authored Oct 23, 2019
1 parent 600f8dd commit 6ef969d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fresco.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def new_argument_parser():
default=None,
help=\
'file containing star keys to center on (optional) []\n'
' best used with --com',
' implies --com',
)
parser.add_argument(
'-o',
Expand Down Expand Up @@ -249,7 +249,10 @@ def main():
image_width = args.width | units.parsec
pixels = args.pixels
frames = args.frames
use_com = args.use_com
if followfilename is not None:
use_com = True
else:
use_com = args.use_com
x_offset = args.x_offset | units.parsec
y_offset = args.y_offset | units.parsec
z_offset = args.z_offset | units.parsec
Expand Down

0 comments on commit 6ef969d

Please sign in to comment.