Sha256: a904542e6f16302b90c2507a1ec59363f89340a7f609cf53930b4830799e0bad

Contents?: true

Size: 257 Bytes

Versions: 25

Compression:

Stored size: 257 Bytes

Contents

require 'mspire/mzml/io_indexable_list'

module Mspire
  class Mzml
    class SpectrumList < IOIndexableList

      attr_accessor :scan_to_index

      def fetch_by_scan_num(scan_num)
        __getobj__[@scan_to_index[scan_num]]
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mspire-0.10.8.0 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.7.3 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.7.2 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.7.1 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.7 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.6 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.5 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.4 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.3 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.2 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.1 lib/mspire/mzml/spectrum_list.rb
mspire-0.10.0 lib/mspire/mzml/spectrum_list.rb
mspire-0.9.2 lib/mspire/mzml/spectrum_list.rb
mspire-0.9.1 lib/mspire/mzml/spectrum_list.rb
mspire-0.9.0 lib/mspire/mzml/spectrum_list.rb
mspire-0.8.7 lib/mspire/mzml/spectrum_list.rb
mspire-0.8.6.2 lib/mspire/mzml/spectrum_list.rb
mspire-0.8.6.1 lib/mspire/mzml/spectrum_list.rb
mspire-0.8.6 lib/mspire/mzml/spectrum_list.rb
mspire-0.8.5 lib/mspire/mzml/spectrum_list.rb