Exception: GeneValidatorApp::BLAST_NOT_COMPATIBLE

Inherits:
StandardError
  • Object
show all
Defined in:
lib/genevalidatorapp/exceptions.rb

Overview

Raised if GV determined NCBI BLAST+ present on the user’s system but not meeting GV’s minimum version requirement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ BLAST_NOT_COMPATIBLE

Returns a new instance of BLAST_NOT_COMPATIBLE.



115
116
117
# File 'lib/genevalidatorapp/exceptions.rb', line 115

def initialize(version)
  @version = version
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



119
120
121
# File 'lib/genevalidatorapp/exceptions.rb', line 119

def version
  @version
end

Instance Method Details

#to_sObject



121
122
123
124
125
126
# File 'lib/genevalidatorapp/exceptions.rb', line 121

def to_s
  <<MSG
Your BLAST+ version #{version} is outdated.
GV needs NCBI BLAST+ version #{MINIMUM_BLAST_VERSION} or higher.
MSG
end