docs: def _preprocessContaminantOutFilePath(outPath):
          """
          Preprocess the contaminant output file path to a relative path.
          """
          if '/' in outPath:
              splitPath = outPath.split('/')
  
          elif '\\' in outPath:
              splitPath = outPath.split('\\')
  
          else:
              splitPath = [outPath, ]
  
          if splitPath[-1] == '':
              outputFilename = splitPath[-2]
  
          else:
              outputFilename = splitPath[-1]
  
          if '.' in outputFilename:
              outputFilename = outputFilename.split('.')[0]
  
          return outputFilename