Sha256: c2334270f6e7fd61484667e1318853163d22d2ee1b020fd881b44ef4b2400ffa

Contents?: true

Size: 246 Bytes

Versions: 11

Compression:

Stored size: 246 Bytes

Contents

require_relative 'api_runner'
module Unipept::Commands
  class Pept2taxa < ApiRunner
    def required_fields
      ['peptide']
    end

    def default_batch_size
      if options[:all]
        5
      else
        10
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unipept-2.2.0 lib/commands/unipept/pept2taxa.rb
unipept-2.1.1 lib/commands/unipept/pept2taxa.rb
unipept-2.1.0 lib/commands/unipept/pept2taxa.rb
unipept-2.0.0 lib/commands/unipept/pept2taxa.rb
unipept-1.4.1 lib/commands/unipept/pept2taxa.rb
unipept-1.4.0 lib/commands/unipept/pept2taxa.rb
unipept-1.3.0 lib/commands/unipept/pept2taxa.rb
unipept-1.2.0 lib/commands/unipept/pept2taxa.rb
unipept-1.1.3 lib/commands/unipept/pept2taxa.rb
unipept-1.1.2 lib/commands/unipept/pept2taxa.rb
unipept-1.1.1 lib/commands/unipept/pept2taxa.rb