Sha256: dcc057b69d1fc8ef2261cd1049e62a48d1b1232ccd8393e24243519913c0378b

Contents?: true

Size: 248 Bytes

Versions: 10

Compression:

Stored size: 248 Bytes

Contents

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