|
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 |
@@ -59,9 +59,6 @@ def add_positional_arguments(self, parser): |
59 | 59 | help="Ask interactively for the missing data", |
60 | 60 | action='store_true', |
61 | 61 | ) |
62 | | - parser.add_argument( |
63 | | - '-c', '--closure', help="Use the closure comparison template.", action='store_true' |
64 | | - ) |
65 | 62 | parser.add_argument( |
66 | 63 | '-l', '--lite', help="Smaller version of the usual comparefit fit", action='store_true' |
67 | 64 | ) |
@@ -176,10 +173,7 @@ def get_commandline_arguments(self, cmdline=None): |
176 | 173 | # This is needed because the environment wants to know how to resolve |
177 | 174 | # the relative paths to find the templates. Best to have the template |
178 | 175 | # look as much as possible as a runcard passed from the command line |
179 | | - if args['closure']: |
180 | | - log.info("using closure test template.") |
181 | | - args['config_yml'] = compareclosuretemplates.template_path |
182 | | - elif args['lite']: |
| 176 | + if args['lite']: |
183 | 177 | log.info("using compare-lite template.") |
184 | 178 | args['config_yml'] = comparefittemplates.template_lite_path |
185 | 179 | elif args['use_polarized']: |
|
0 commit comments