|
7 | 7 | from prompt_toolkit.completion import WordCompleter |
8 | 8 |
|
9 | 9 | from reportengine.colors import t |
10 | | -from validphys import compareclosuretemplates, comparefittemplates |
| 10 | +from validphys import comparefittemplates |
11 | 11 | from validphys.app import App |
12 | 12 | from validphys.loader import RemoteLoader |
13 | 13 | from validphys.promptutils import KeywordsWithCache, confirm |
@@ -56,9 +56,6 @@ def add_positional_arguments(self, parser): |
56 | 56 | help="Ask interactively for the missing data", |
57 | 57 | action='store_true', |
58 | 58 | ) |
59 | | - parser.add_argument( |
60 | | - '-c', '--closure', help="Use the closure comparison template.", action='store_true' |
61 | | - ) |
62 | 59 | parser.add_argument( |
63 | 60 | '-l', '--lite', help="Smaller version of the usual comparefit fit", action='store_true' |
64 | 61 | ) |
@@ -173,10 +170,7 @@ def get_commandline_arguments(self, cmdline=None): |
173 | 170 | # This is needed because the environment wants to know how to resolve |
174 | 171 | # the relative paths to find the templates. Best to have the template |
175 | 172 | # 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']: |
180 | 174 | log.info("using compare-lite template.") |
181 | 175 | args['config_yml'] = comparefittemplates.template_lite_path |
182 | 176 | elif args['use_polarized']: |
|
0 commit comments