ms-sequest 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History +5 -0
- data/lib/ms/sequest.rb +1 -1
- data/lib/ms/sequest/srf.rb +2 -2
- metadata +2 -2
data/History
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
== 0.0.8 / 2009-06-29
|
|
3
|
+
|
|
4
|
+
* bugfix - only applies to windows: fixes an error on windows opening srf files and searching for the internal sequest.params file. File.open(<srf>) -> File.open(<srf>, 'rb').
|
|
5
|
+
|
|
1
6
|
== 0.0.7 / 2009-06-26
|
|
2
7
|
|
|
3
8
|
* minor bug fix in srf to sqt output in compatibility with current ms-core ms/mass tables
|
data/lib/ms/sequest.rb
CHANGED
data/lib/ms/sequest/srf.rb
CHANGED
|
@@ -48,7 +48,7 @@ class Ms::Sequest::Srf
|
|
|
48
48
|
def self.get_sequest_params(filename)
|
|
49
49
|
# split the file in half and only read the second half (since we can be
|
|
50
50
|
# confident that the params file will be there!)
|
|
51
|
-
File.open(filename) do |handle|
|
|
51
|
+
File.open(filename, 'rb') do |handle|
|
|
52
52
|
halfway = handle.stat.size / 2
|
|
53
53
|
handle.seek halfway
|
|
54
54
|
last_half = handle.read
|
|
@@ -172,7 +172,7 @@ END
|
|
|
172
172
|
warn "no params file found in srf, could be truncated file!"
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
-
File.open(filename,
|
|
175
|
+
File.open(filename, 'rb') do |fh|
|
|
176
176
|
@header = Ms::Sequest::Srf::Header.new.from_io(fh)
|
|
177
177
|
@version = @header.version
|
|
178
178
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ms-sequest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Prince
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-06-
|
|
12
|
+
date: 2009-06-29 00:00:00 -06:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|