class_docstr: A setting that indicates which subdirectories should be excluded from an operation
  
  The subdirectory filter holds a collection of subdirectories that
  should be excluded from a file discovery operation that scans
  subdirectories.
docstr: Initialize the setting
  
  text - a tag for the setting that briefly indicates its purpose
  
  value - the value for the setting, as saved in the pipeline
  
  directory_path - an optional DirectoryPath setting that can be used
                   to find the root of the subdirectory tree.
code: def __init__(self, text, value="", directory_path=None, **kwargs):
      """Initialize the setting
  
      text - a tag for the setting that briefly indicates its purpose
  
      value - the value for the setting, as saved in the pipeline
  
      directory_path - an optional DirectoryPath setting that can be used
                       to find the root of the subdirectory tree.
      """
      super(SubdirectoryFilter, self).__init__(text, value, **kwargs)
      assert (directory_path is None) or isinstance(
          directory_path, Directory
      )
      self.directory_path = directory_path
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/multichoice/_subdirectory_filter.py
imports: import os
  from ._multichoice import MultiChoice
  from .._validation_error import ValidationError
  from ..text import Directory
label_desc: Use image node_id 1 to create a new SubdirectoryFilter object from inherited base classes: MultiChoice with example: obj = SubdirectoryFilter(text, value, directory_path)