Преглед на файлове

refactor: [WFE.setup()] remove unneeded input file check

Check for missing input files not needed as object cannot be initialised without them
main
Rob Hallam преди 1 месец
родител
ревизия
d5d12cbd4f
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. +0
    -4
      pipeline/feature_extractors.py

+ 0
- 4
pipeline/feature_extractors.py Целия файл

@@ -444,10 +444,6 @@ class WordFeatureExtractor(FeatureExtractor):
"""
logger.debug("WordFeatureExtractor setup")

# Validate input files
if not self.input_files:
raise ValueError("No input files provided")

# Validate words - raise a notice if none provided
if len(words) == 0:
logger.warning("No words provided for detection")


Зареждане…
Отказ
Запис