-BaseTool = window.Ubret.BaseTool or require('./base_tool')
-
-class Spectra extends BaseTool
+class Spectra extends Ubret.BaseTool
 
   name: "Spectra"
   

      @selectIds [@opts.data.first.uid]
    subjects = _(@opts.data).filter (d) => 
      d.uid in @opts.selectedIds
    @loadSpectralLines(subjects[0])

  loadSpectralLines: (subject) =>
    request = new XMLHttpRequest()

        .style("stroke-width", 0.5)


window.Ubret.Spectra = Spectra