Exception: GeneValidatorApp::NO_BLAST_DATABASE_FOUND
- Inherits:
-
StandardError
- Object
- StandardError
- GeneValidatorApp::NO_BLAST_DATABASE_FOUND
- Defined in:
- lib/genevalidatorapp/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.
140 141 142 |
# File 'lib/genevalidatorapp/exceptions.rb', line 140 def initialize(database_dir) @database_dir = database_dir end |
Instance Attribute Details
#database_dir ⇒ Object (readonly)
Returns the value of attribute database_dir.
144 145 146 |
# File 'lib/genevalidatorapp/exceptions.rb', line 144 def database_dir @database_dir end |
Instance Method Details
#to_s ⇒ Object
146 147 148 |
# File 'lib/genevalidatorapp/exceptions.rb', line 146 def to_s "Could not find BLAST+ databases in: #{database_dir}." end |