Exception: GeneValidatorApp::BLAST_NOT_COMPATIBLE
- Inherits:
-
StandardError
- Object
- StandardError
- GeneValidatorApp::BLAST_NOT_COMPATIBLE
- Defined in:
- lib/genevalidatorapp/exceptions.rb
Overview
Raised if SequenceServer determined NCBI BLAST+ present on the user’s system but not meeting SequenceServer’s minimum version requirement.
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ BLAST_NOT_COMPATIBLE
constructor
A new instance of BLAST_NOT_COMPATIBLE.
- #to_s ⇒ Object
Constructor Details
#initialize(version) ⇒ BLAST_NOT_COMPATIBLE
Returns a new instance of BLAST_NOT_COMPATIBLE.
105 106 107 |
# File 'lib/genevalidatorapp/exceptions.rb', line 105 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
109 110 111 |
# File 'lib/genevalidatorapp/exceptions.rb', line 109 def version @version end |
Instance Method Details
#to_s ⇒ Object
111 112 113 114 115 116 |
# File 'lib/genevalidatorapp/exceptions.rb', line 111 def to_s "Your BLAST+ version \#{version} is outdated.\nSequenceServer needs NCBI BLAST+ version \#{MINIMUM_BLAST_VERSION} or higher.\n" end |