Sha256: b7d8491bf79bea83bc959f75483c300e1aeaf903275ec46c4b8fe525dc37e264

Contents?: true

Size: 249 Bytes

Versions: 10

Compression:

Stored size: 249 Bytes

Contents

require_relative 'api_runner'
module Unipept::Commands
  class Peptinfo < 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/peptinfo.rb
unipept-3.0.2 lib/commands/unipept/peptinfo.rb
unipept-3.0.1 lib/commands/unipept/peptinfo.rb
unipept-3.0.0 lib/commands/unipept/peptinfo.rb
unipept-2.2.2 lib/commands/unipept/peptinfo.rb
unipept-2.2.1 lib/commands/unipept/peptinfo.rb
unipept-2.2.0 lib/commands/unipept/peptinfo.rb
unipept-2.1.1 lib/commands/unipept/peptinfo.rb
unipept-2.1.0 lib/commands/unipept/peptinfo.rb
unipept-2.0.0 lib/commands/unipept/peptinfo.rb