Exception: SequenceServer::BLAST_DATABASE_ERROR
- Inherits:
-
StandardError
- Object
- StandardError
- SequenceServer::BLAST_DATABASE_ERROR
- Defined in:
- lib/sequenceserver/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.
132 133 134 135 |
# File 'lib/sequenceserver/exceptions.rb', line 132 def initialize(cmd, out) @cmd = cmd @out = out end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
137 138 139 |
# File 'lib/sequenceserver/exceptions.rb', line 137 def cmd @cmd end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
137 138 139 |
# File 'lib/sequenceserver/exceptions.rb', line 137 def out @out end |
Instance Method Details
#to_s ⇒ Object
139 140 141 142 143 144 145 146 147 148 |
# File 'lib/sequenceserver/exceptions.rb', line 139 def to_s <<~MSG Error obtaining BLAST databases. Tried: #{cmd} Error: #{out.strip} Please could you report this to 'https://groups.google.com/forum/#!forum/sequenceserver'? MSG end |