Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
bin: make subtype a required option
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Jul 17, 2023
1 parent 04ced76 commit 14f571d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/proviral.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def cli():
)
@click.option(
'--subtype',
required=True,
type=click.Choice(st.subtypes())
)
@click.option(
Expand Down Expand Up @@ -69,9 +70,6 @@ def intact(input_file, subtype, include_packaging_signal,
Check consensus sequences for intactness.
"""

if subtype is None:
raise ValueError('Must select a subtype using the --subtype option.')

log.info('Intactness called.')
folder = get_working_folder(working_folder)

Expand Down

0 comments on commit 14f571d

Please sign in to comment.