Sha256: 93197d74d0d88f4b701006d279e5489db3c6a29001e051cf03f7d9c7a454dcdc

Contents?: true

Size: 1.6 KB

Versions: 11

Compression:

Stored size: 1.6 KB

Contents

require_relative '../../version2_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version2_0
      module Relationships
        # ReactantIn:  +A reactantIn reaction(reactants(A),
        # products(B))+ -  This relationship links abundance
        # terms from the +reactants(<list>)+ in a reaction to the
        # reaction. This is a direct relationship because it is a
        # _self_ relationship. Reactants are consumed directly by a
        # reaction. This relationship is introduced by the BEL Compiler
        # and may not be used by statements in BEL documents.
        class ReactantIn
          extend Relationship

          SHORT       = :reactantIn
          LONG        = :reactantIn

          DESCRIPTION = <<-DOC
ReactantIn:  +A reactantIn reaction(reactants(A),
products(B))+ -  This relationship links abundance
terms from the +reactants(<list>)+ in a reaction to the
reaction. This is a direct relationship because it is a
_self_ relationship. Reactants are consumed directly by a
reaction. This relationship is introduced by the BEL Compiler
and may not 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

          def self.self?
            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/version2_0/relationships/reactant_in.rb
bel_parser-1.1.6 lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.5 lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.4-java lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.4 lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.3-java lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.3 lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.2-java lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.2 lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.1-java lib/bel_parser/language/version2_0/relationships/reactant_in.rb
bel_parser-1.1.1 lib/bel_parser/language/version2_0/relationships/reactant_in.rb