diff --git a/boxes/__init__.py b/boxes/__init__.py index 5a8a75a..cbf4a47 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -186,7 +186,7 @@ class Boxes: "--output", action="store", type=str, default="box.svg", help="name of resulting file") self.argparser.add_argument( - "--debug", action="store_true", default=False, + "--debug", action="store", type=bool, default=False, help="print surrounding boxes for some structures") self.argparser.add_argument( "--burn", action="store", type=float, default=0.05, diff --git a/scripts/boxesserver b/scripts/boxesserver index 2c09ea9..ec6d8f8 100755 --- a/scripts/boxesserver +++ b/scripts/boxesserver @@ -98,16 +98,16 @@ class BServer: return "" row = """