Sha256: 5041f92d78841bd03392a2352c03bae2be2ca4062ff3d3ae2d90538d142670bf

Contents?: true

Size: 1.4 KB

Versions: 11

Compression:

Stored size: 1.4 KB

Contents

require_relative '../../version1_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version1_0
      module Relationships
        # HasVariant:  +p(A) hasVariant p(A, sub(G, 12, V))+ -
        # This relationship links abundance terms modified by the
        # +substitution()+, +fusion()+, or +truncation()+ functions to
        # the unmodified abundance term. This relationship is introduced
        # by the BEL Compiler and does not need to be used by statements
        # in BEL documents.
        class HasVariant
          extend Relationship

          SHORT       = :hasVariant
          LONG        = :hasVariant
          
          DESCRIPTION = <<-DOC
HasVariant:  +p(A) hasVariant p(A, sub(G, 12, V))+ -
This relationship links abundance terms modified by the
+substitution()+, +fusion()+, or +truncation()+ functions to
the unmodified abundance term. This relationship is introduced
by the BEL Compiler and does not need to be used by statements
in BEL documents.
          DOC

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          end

          def self.direct?
            true
          end

          def self.directed?
            true
          end

          def self.injected?
            true
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bel_parser-1.1.6-java lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.6 lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.5 lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.4-java lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.4 lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.3-java lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.3 lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.2-java lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.2 lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.1-java lib/bel_parser/language/version1_0/relationships/has_variant.rb
bel_parser-1.1.1 lib/bel_parser/language/version1_0/relationships/has_variant.rb