disable metrics inventory for previous registry

This commit is contained in:
Jonathan Shook
2023-09-27 23:57:10 -05:00
parent 167e591b0f
commit 3ec351ad38

View File

@@ -365,12 +365,13 @@ public class NBCLI implements Function<String[], Integer>, NBLabeledElement {
return NBCLI.EXIT_OK;
}
if (null != options.wantsMetricsForActivity()) {
final String metricsHelp = this.getMetricsHelpFor(options.wantsMetricsForActivity());
System.out.println("Available metric names for activity:" + options.wantsMetricsForActivity() + ':');
System.out.println(metricsHelp);
return NBCLI.EXIT_OK;
}
// disabled for now
// if (null != options.wantsMetricsForActivity()) {
// final String metricsHelp = this.getMetricsHelpFor(options.wantsMetricsForActivity());
// System.out.println("Available metric names for activity:" + options.wantsMetricsForActivity() + ':');
// System.out.println(metricsHelp);
// return NBCLI.EXIT_OK;
// }
NBCLI.logger.debug("initializing annotators with config:'{}'", annotatorsConfig);
Annotators.init(annotatorsConfig, options.getAnnotateLabelSpec());