Skip to content

Commit

Permalink
remove uneeded class
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Sep 20, 2022
1 parent 71905a2 commit c95619b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bin/pbptyper
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ TBLASTN_COLS = [
]


class OptionRequiredIf(click.Option):
def full_process_value(self, ctx, value):
value = super(OptionRequiredIf, self).full_process_value(ctx, value)

if value is None and ctx.params['output'] == 'file':
msg = 'Required if --output=file'
raise click.MissingParameter(ctx=ctx, param=self, message=msg)
return value


def check_dependencies():
"""
Check if all dependencies are installed.
Expand Down

0 comments on commit c95619b

Please sign in to comment.