mspire 0.10.7.3 → 0.10.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mspire/mzml/spectrum.rb +2 -2
- data/lib/mspire/peaklist.rb +1 -5
- data/lib/mspire/version.rb +1 -1
- data/mspire.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72807eb6132aa38fc1277fb7ca3be77d48b8fbf7
|
4
|
+
data.tar.gz: 3661728260192eb6a782d553c3294366bb9fca1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65900c051fdba40996f0b8b2366b9e4f47444207c26982ae23c8d58c17e689d79984ff8a7443299932b33a1770f5fa013c4fbe804260cc5114c66190338131af
|
7
|
+
data.tar.gz: 811e9abc828e5dc2f38d423a460c3b262ba6d87b462c9aeb6c910de463529a78bda44944f93eccb4ed1cdcdfd1764631f68c08cc24d9bdf0b86aa471adda1164
|
data/lib/mspire/mzml/spectrum.rb
CHANGED
@@ -181,8 +181,8 @@ module Mspire
|
|
181
181
|
# array.
|
182
182
|
def self.from_arrays(id, arrays)
|
183
183
|
spec = self.new(id)
|
184
|
-
arrays.zip(['MS:1000514','MS:1000515']).
|
185
|
-
|
184
|
+
spec.data_arrays = arrays.zip(['MS:1000514','MS:1000515']).map do |ar, acc|
|
185
|
+
DataArray.new(ar).describe!(acc)
|
186
186
|
end
|
187
187
|
spec
|
188
188
|
end
|
data/lib/mspire/peaklist.rb
CHANGED
@@ -360,11 +360,7 @@ module Mspire
|
|
360
360
|
|
361
361
|
# returns an Mspire::Spectrum object
|
362
362
|
def to_spectrum
|
363
|
-
|
364
|
-
each do |peak|
|
365
|
-
xs << peak.x ; ys << peak.y
|
366
|
-
end
|
367
|
-
Mspire::Spectrum.new([xs, ys])
|
363
|
+
Mspire::Spectrum.new(self.transpose)
|
368
364
|
end
|
369
365
|
end
|
370
366
|
end
|
data/lib/mspire/version.rb
CHANGED
data/mspire.gemspec
CHANGED
@@ -31,10 +31,10 @@ Gem::Specification.new do |spec|
|
|
31
31
|
end
|
32
32
|
|
33
33
|
[
|
34
|
-
["bundler", "~> 1.
|
34
|
+
["bundler", "~> 1.6.2"],
|
35
35
|
["rake"],
|
36
36
|
["rspec", "~> 2.14.1"],
|
37
|
-
["rdoc", "~> 4.1.
|
37
|
+
["rdoc", "~> 4.1.1"],
|
38
38
|
["simplecov", "~> 0.8.2"],
|
39
39
|
["coveralls"],
|
40
40
|
# here because bad microsoft OS support
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mspire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John T. Prince
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -115,14 +115,14 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 1.
|
118
|
+
version: 1.6.2
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.
|
125
|
+
version: 1.6.2
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rake
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,14 +157,14 @@ dependencies:
|
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: 4.1.
|
160
|
+
version: 4.1.1
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 4.1.
|
167
|
+
version: 4.1.1
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: simplecov
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|