Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changing namespace to mspire from ms
- Loading branch information
Showing
16 changed files
with
81 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/ms/lipid/search/db_isobar_group.rb → lib/mspire/lipid/search/db_isobar_group.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
module MS | ||
module Mspire | ||
class Lipid | ||
class Search | ||
class Hit | ||
|
2 changes: 1 addition & 1 deletion
2
.../lipid/search/probability_distribution.rb → .../lipid/search/probability_distribution.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
module MS | ||
module Mspire | ||
class Lipid | ||
class Search | ||
class ProbabilityDistribution | ||
|
2 changes: 1 addition & 1 deletion
2
lib/ms/lipid/search/query.rb → lib/mspire/lipid/search/query.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
|
||
|
||
module MS | ||
module Mspire | ||
class Lipid | ||
class Search | ||
class Query | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
require 'spec_helper' | ||
|
||
|
||
require 'mspire/lipid' | ||
require 'mspire/lipid/modification' | ||
require 'mspire/lipid/ion' | ||
|
||
describe Mspire::Lipid::Ion do | ||
before do | ||
lipid = Mspire::Lipid.new | ||
lipid.mass = 300.2 | ||
proton = Mspire::Lipid::Modification.new(:proton) | ||
h2o_loss = Mspire::Lipid::Modification.new(:water, :loss => true) | ||
@plus1 = Mspire::Lipid::Ion.new(lipid, [proton, h2o_loss]) | ||
@plus2 = Mspire::Lipid::Ion.new(lipid, [proton, proton, h2o_loss]) | ||
end | ||
|
||
it 'calculates the correct m/z' do | ||
@plus1.mz.should be_within(1e5).of(283.196711735) | ||
@plus2.mz.should be_within(1e5).of(142.101994085) | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters