Exception: GeneValidatorApp::BLAST_DATABASE_ERROR
- Inherits:
-
StandardError
- Object
- StandardError
- GeneValidatorApp::BLAST_DATABASE_ERROR
- Defined in:
- lib/genevalidatorapp/exceptions.rb
Overview
Raised if there was an error determining BLAST+ databases in database_dir.
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize(cmd, out) ⇒ BLAST_DATABASE_ERROR
constructor
A new instance of BLAST_DATABASE_ERROR.
- #to_s ⇒ Object
Constructor Details
#initialize(cmd, out) ⇒ BLAST_DATABASE_ERROR
Returns a new instance of BLAST_DATABASE_ERROR.
156 157 158 159 |
# File 'lib/genevalidatorapp/exceptions.rb', line 156 def initialize(cmd, out) @cmd = cmd @out = out end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
161 162 163 |
# File 'lib/genevalidatorapp/exceptions.rb', line 161 def cmd @cmd end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
161 162 163 |
# File 'lib/genevalidatorapp/exceptions.rb', line 161 def out @out end |
Instance Method Details
#to_s ⇒ Object
163 164 165 166 167 168 169 170 171 172 |
# File 'lib/genevalidatorapp/exceptions.rb', line 163 def to_s "Error obtaining BLAST databases.\nTried: \#{cmd}\nError:\n\#{out.strip}\n\nPlease could you report this to 'https://groups.google.com/forum/#!forum/sequenceserver'?\n" end |