From c95619b870b8dbe205ed0d7dedb9205bda5f7390 Mon Sep 17 00:00:00 2001
From: "Robert A. Petit III" <robbie.petit@gmail.com>
Date: Tue, 20 Sep 2022 21:21:38 +0000
Subject: [PATCH] remove uneeded class

---
 bin/pbptyper | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/bin/pbptyper b/bin/pbptyper
index 7448c3b..3f34952 100755
--- a/bin/pbptyper
+++ b/bin/pbptyper
@@ -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.