Sha256: 00ed6c60a6b8577a738753f11fe704432cb087eaaf48c7b8e586a0bd74c141b5

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 Bytes

Contents

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

    def default_batch_size
      if options[:all]
        100
      else
        1000
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
unipept-3.1.0 lib/commands/unipept/pept2funct.rb
unipept-3.0.2 lib/commands/unipept/pept2funct.rb
unipept-3.0.1 lib/commands/unipept/pept2funct.rb
unipept-3.0.0 lib/commands/unipept/pept2funct.rb
unipept-2.2.2 lib/commands/unipept/pept2funct.rb
unipept-2.2.1 lib/commands/unipept/pept2funct.rb
unipept-2.2.0 lib/commands/unipept/pept2funct.rb
unipept-2.1.1 lib/commands/unipept/pept2funct.rb
unipept-2.1.0 lib/commands/unipept/pept2funct.rb
unipept-2.0.0 lib/commands/unipept/pept2funct.rb