Exception: SequenceServer::NO_BLAST_DATABASE_FOUND
- Inherits:
-
StandardError
- Object
- StandardError
- SequenceServer::NO_BLAST_DATABASE_FOUND
- Defined in:
- lib/sequenceserver/exceptions.rb
Overview
Raised if not even one BLAST+ database was found in database_dir.
Instance Attribute Summary collapse
-
#database_dir ⇒ Object
readonly
Returns the value of attribute database_dir.
Instance Method Summary collapse
-
#initialize(database_dir) ⇒ NO_BLAST_DATABASE_FOUND
constructor
A new instance of NO_BLAST_DATABASE_FOUND.
- #to_s ⇒ Object
Constructor Details
#initialize(database_dir) ⇒ NO_BLAST_DATABASE_FOUND
Returns a new instance of NO_BLAST_DATABASE_FOUND.
105 106 107 |
# File 'lib/sequenceserver/exceptions.rb', line 105 def initialize(database_dir) @database_dir = database_dir end |
Instance Attribute Details
#database_dir ⇒ Object (readonly)
Returns the value of attribute database_dir.
109 110 111 |
# File 'lib/sequenceserver/exceptions.rb', line 109 def database_dir @database_dir end |
Instance Method Details
#to_s ⇒ Object
111 112 113 |
# File 'lib/sequenceserver/exceptions.rb', line 111 def to_s "Could not find BLAST+ databases in: #{database_dir}." end |