 
     c = csv().from.stream(csvIn).to.stream(csvOut)
     .transform (row, idx, done) =>
-      if idx == 0 and @_options.includesHeaderRow
+      if idx is 0 and @_options.includesHeaderRow
         headers = row
         newHeaders = @_options.mapping.transformHeader row
         done null, newHeaders
       else
-        if idx == 0
-          headers = _.map _.range(row.length), (idx) ->
-            "#{idx}"
+        if idx is 0
+          headers = _.map _.range(row.length), (idx) -> "#{idx}"
 
         @_options.mapping.transformRow @_convertToObject(headers, row)
         .then (converted) =>

    @_toCol

  priority: () ->
    if @_priority then @_priority else 1000

###
  Transforms one object into another object accoring to the mapping configuration


    Q.all promises
    .then (parts) =>
      this

  map: (origRow, accRow) ->
    partialValues = _.map @_parts, (part, idx) =>
      {size, pad, fromCol, valueTransformers} = part

      value = if accRow[fromCol] then accRow[fromCol] else origRow[fromCol]

