module BioDSL::AuxHelper

Namespace for AuxHelper.

Public Instance Methods

aux_exist(command) click to toggle source

Method that raises if the given command is not found on the system.

@param command [String] Command that must exist.

@raise [AuxiliaryError] if command is not found.

# File lib/BioDSL/helpers/aux_helper.rb, line 39
def aux_exist(command)
  return if BioDSL::Filesys.which(command)
  fail AuxiliaryError, "command: #{command} not found"
end