Exception: GeneValidatorApp::NO_PROTEIN_BLAST_DATABASE_FOUND
- Inherits:
-
StandardError
- Object
- StandardError
- GeneValidatorApp::NO_PROTEIN_BLAST_DATABASE_FOUND
- Defined in:
- lib/genevalidatorapp/exceptions.rb
Overview
Raised if no protein 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_PROTEIN_BLAST_DATABASE_FOUND
constructor
A new instance of NO_PROTEIN_BLAST_DATABASE_FOUND.
- #to_s ⇒ Object
Constructor Details
#initialize(database_dir) ⇒ NO_PROTEIN_BLAST_DATABASE_FOUND
Returns a new instance of NO_PROTEIN_BLAST_DATABASE_FOUND.
153 154 155 |
# File 'lib/genevalidatorapp/exceptions.rb', line 153 def initialize(database_dir) @database_dir = database_dir end |
Instance Attribute Details
#database_dir ⇒ Object (readonly)
Returns the value of attribute database_dir.
157 158 159 |
# File 'lib/genevalidatorapp/exceptions.rb', line 157 def database_dir @database_dir end |
Instance Method Details
#to_s ⇒ Object
159 160 161 |
# File 'lib/genevalidatorapp/exceptions.rb', line 159 def to_s "Could not find any Protein BLAST+ databases in: #{database_dir}." end |