Skip to content

Commit

Permalink
specify argument types when they are not strings. (Fixes #79)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Mar 1, 2021
1 parent 90b9a74 commit 9d50e6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agasc/scripts/update_supplement.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ def get_obs_status_parser():
status.add_argument('--observation-id',
help='Observation ID for status override. '
'Usually the mission planning catalog time')
status.add_argument('--obsid', help='OBSID for status override.')
status.add_argument('--agasc-id', help='AGASC ID for status override.')
status.add_argument('--status', help='Status to override.')
status.add_argument('--obsid', help='OBSID for status override.', type=int)
status.add_argument('--agasc-id', help='AGASC ID for status override.', type=int)
status.add_argument('--status', help='Status to override.', type=int)
status.add_argument('--comments', help='Comments for status override.', default='')
status.add_argument('--bad-star-id', help='AGASC ID of bad star.',
default=[], action='append', type=int)
Expand Down

0 comments on commit 9d50e6b

Please sign in to comment.