浏览代码

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 2 个月前
父节点
当前提交
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")


正在加载...
取消
保存