docs: def _writeContaminantTable(self, session, fileObject, mapTable, contaminants, replaceParamFile):
          """
          This method writes the contaminant transport mapping table case.
          """
          # Write the contaminant mapping table header
          fileObject.write('%s\n' % (mapTable.name))
          fileObject.write('NUM_CONTAM %s\n' % (mapTable.numContam))
  
          # Write out each contaminant and it's values
          for contaminant in contaminants:
              fileObject.write(
                  '"%s"  "%s"  %s\n' % (contaminant.name, contaminant.indexMap.name, contaminant.outputFilename))
  
              # Add trailing zeros to values / replacement parameter
              precipConcString = vwp(contaminant.precipConc, replaceParamFile)
              partitionString = vwp(contaminant.partition, replaceParamFile)
              try:
                  precipConc = '%.2f' % precipConcString
              except:
                  precipConc = '%s' % precipConcString
  
              try:
                  partition = '%.2f' % partitionString
              except:
                  partition = '%s' % partitionString
  
              # Write global variables for the contaminant
              fileObject.write('PRECIP_CONC%s%s\n' % (' ' * 10, precipConc))
              fileObject.write('PARTITION%s%s\n' % (' ' * 12, partition))
              fileObject.write('NUM_IDS %s\n' % contaminant.numIDs)
  
              # Write value lines
              self._writeValues(session, fileObject, mapTable, contaminant, replaceParamFile)