Exception: SequenceServer::BLAST_NOT_COMPATIBLE
- Inherits:
-
StandardError
- Object
- StandardError
- SequenceServer::BLAST_NOT_COMPATIBLE
- Defined in:
- lib/sequenceserver/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.
80 81 82 |
# File 'lib/sequenceserver/exceptions.rb', line 80 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
84 85 86 |
# File 'lib/sequenceserver/exceptions.rb', line 84 def version @version end |
Instance Method Details
#to_s ⇒ Object
86 87 88 89 90 91 |
# File 'lib/sequenceserver/exceptions.rb', line 86 def to_s <<~MSG Your BLAST+ version #{version} is incompatible. SequenceServer needs NCBI BLAST+ version #{BLAST_VERSION}. MSG end |