Sha256: aaa605e2e527b1d370da785e84475476d81e758d8ca0910cfea6bbc8cccf19ec
Contents?: true
Size: 480 Bytes
Versions: 10
Compression:
Stored size: 480 Bytes
Contents
require 'mspire/cv/paramable' module Mspire class Mzml # Typical params might be like: # # accession="MS:1000501" name="scan window lower limit" value="400" # accession="MS:1000500" name="scan window upper limit" value="1800" class ScanWindow 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