Skip to content

Commit 874747e

Browse files
comanescarlehoff
authored andcommitted
removed --closure from vp-comparefits parser
1 parent 570f1ee commit 874747e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

validphys2/src/validphys/scripts/vp_comparefits.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from prompt_toolkit.completion import WordCompleter
88

99
from reportengine.colors import t
10-
from validphys import compareclosuretemplates, comparefittemplates
10+
from validphys import comparefittemplates
1111
from validphys.app import App
1212
from validphys.loader import RemoteLoader
1313
from validphys.promptutils import KeywordsWithCache, confirm
@@ -56,9 +56,6 @@ def add_positional_arguments(self, parser):
5656
help="Ask interactively for the missing data",
5757
action='store_true',
5858
)
59-
parser.add_argument(
60-
'-c', '--closure', help="Use the closure comparison template.", action='store_true'
61-
)
6259
parser.add_argument(
6360
'-l', '--lite', help="Smaller version of the usual comparefit fit", action='store_true'
6461
)
@@ -173,10 +170,7 @@ def get_commandline_arguments(self, cmdline=None):
173170
# This is needed because the environment wants to know how to resolve
174171
# the relative paths to find the templates. Best to have the template
175172
# look as much as possible as a runcard passed from the command line
176-
if args['closure']:
177-
log.info("using closure test template.")
178-
args['config_yml'] = compareclosuretemplates.template_path
179-
elif args['lite']:
173+
if args['lite']:
180174
log.info("using compare-lite template.")
181175
args['config_yml'] = comparefittemplates.template_lite_path
182176
elif args['use_polarized']:

0 commit comments

Comments
 (0)