class_docstr: Goes through set of provided melodic output directories, to find all
  the ones that have a hand_labels_noise.txt file in them.
  
  This is outsourced as a separate class, so that the pipeline is
  rerun every time a handlabeled file has been changed, or a new one
  created.
class_docstr_tok: ["Goes","through","set","of","provided","melodic","output","directories",",","to","find","all","the","ones","that","have","a","hand_labels_noise.txt","file","in","them",".","This","is","outsourced","as","a","separate","class",",","so","that","the","pipeline","is","rerun","every","time","a","handlabeled","file","has","been","changed",",","or","a","new","one","created","."]
code: def _run_interface(self, runtime):
      mel_icas = []
      for item in self.inputs.mel_icas_in:
          if os.path.exists(
              os.path.join(item, "hand_labels_noise.txt")
          ):
              mel_icas.append(item)
  
      if len(mel_icas) == 0:
          raise Exception(
              "%s did not find any hand_labels_noise.txt files in the following directories: %s"
              % (self.__class__.__name__, mel_icas)
          )
  
      return runtime
  
imports: from ..base import TraitedSpec, CommandLineInputSpec, CommandLine, InputMultiPath, OutputMultiPath, BaseInterface, BaseInterfaceInputSpec, traits, Directory, File, isdefined
  import os
label_desc: Use image node_id 1 for calling the TrainingSetCreator obj's underlying member method code with example usage: obj._run_interface(runtime) and returns: runtime