From f2600f30801c849fc1d139386e3ddc3c9eb43e30 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 10 Feb 2022 14:10:48 -0800 Subject: More cleanup. --- ml/quick_label.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ml/quick_label.py') diff --git a/ml/quick_label.py b/ml/quick_label.py index 120ff5f..7e0a6bf 100644 --- a/ml/quick_label.py +++ b/ml/quick_label.py @@ -3,8 +3,8 @@ import glob import logging import os -from typing import Callable, List, NamedTuple, Optional, Set import warnings +from typing import Callable, List, NamedTuple, Optional, Set import argparse_utils import config @@ -80,9 +80,7 @@ def label(in_spec: InputSpec) -> None: elif in_spec.image_file_prepopulated_list is not None: images += in_spec.image_file_prepopulated_list else: - raise ValueError( - 'One of image_file_glob or image_file_prepopulated_list is required' - ) + raise ValueError('One of image_file_glob or image_file_prepopulated_list is required') skip_list = read_skip_list() for image in images: -- cgit v1.3