   addData: (data) ->
     timeUnit = TimeUnits.toString SimulationStore.store.stepUnits(), true
     # Create the sample data values (node values array)
-    sampleData = _.map data, (frame) =>
+    sampleData = _.map data, (frame) ->
       sample = {}
       sample[tr '~CODAP.SIMULATION.EXPERIMENT'] = SimulationStore.store.settings.experimentNumber
       sample[timeUnit] = frame.time

        size: { width: 242, height: 221 },
        position: 'bottom'

  createTable: () ->
    unless @tableCreated
      @codapPhone.call
        action: 'create',

      doResolve = (listAttributeResponse) =>
        if listAttributeResponse.success
          values = listAttributeResponse.values
          newAttributes = _.select currentAttributes, (a) -> (! _.includes(values,a.name))
          message =
            action: 'create'
            resource: 'dataContext[Sage Simulation].collection[Samples].attribute'
