Sha256: 5e1cd41ac01f0c3f0f9c70ea02e8b48e8738e92733cd6a5ae96137b903e132e1
Contents?: true
Size: 846 Bytes
Versions: 10
Compression:
Stored size: 846 Bytes
Contents
require 'mspire/cv/paramable' module Mspire class Mzml # MUST supply a *child* term of MS:1000792 (isolation window attribute) one or more times # # e.g.: MS:1000827 (isolation window target m/z) # e.g.: MS:1000828 (isolation window lower offset) # e.g.: MS:1000829 (isolation window upper offset) # # MUST supply a *child* term of MS:1000792 (isolation window attribute) one or more times # # e.g.: MS:1000827 (isolation window target m/z) # e.g.: MS:1000828 (isolation window lower offset) # e.g.: MS:1000829 (isolation window upper offset) class IsolationWindow include Mspire::CV::Paramable def self.from_xml(xml) obj = self.new [:cvParam, :userParam].each {|v| obj.describe! xml.xpath("./#{v}") } obj end end end end
Version data entries
10 entries across 10 versions & 1 rubygems