Sha256: 838adf75e4439b408eb135438f0997e1b9f7fda8a4160fd606e9d814878fab32

Contents?: true

Size: 223 Bytes

Versions: 14

Compression:

Stored size: 223 Bytes

Contents

module Quorum
  class BlastpJobReport < ActiveRecord::Base
    belongs_to :blastp_job
    scope :default_order, order("query ASC, bit_score DESC")
    scope :by_query, lambda { |query| where("query = ?", query) }
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
quorum-0.7.1 app/models/quorum/blastp_job_report.rb
quorum-0.7.0 app/models/quorum/blastp_job_report.rb
quorum-0.6.0 app/models/quorum/blastp_job_report.rb
quorum-0.5.2 app/models/quorum/blastp_job_report.rb
quorum-0.5.1 app/models/quorum/blastp_job_report.rb
quorum-0.5.0 app/models/quorum/blastp_job_report.rb
quorum-0.4.0 app/models/quorum/blastp_job_report.rb
quorum-0.3.3 app/models/quorum/blastp_job_report.rb
quorum-0.3.2 app/models/quorum/blastp_job_report.rb
quorum-0.3.1 app/models/quorum/blastp_job_report.rb
quorum-0.3.0 app/models/quorum/blastp_job_report.rb
quorum-0.2.1 app/models/quorum/blastp_job_report.rb
quorum-0.2.0 app/models/quorum/blastp_job_report.rb
quorum-0.1.0 app/models/quorum/blastp_job_report.rb