Sha256: 73661e1aec9140b57678b0251005299b126d347750da54dc0a805504e4727376
Contents?: true
Size: 793 Bytes
Versions: 8
Compression:
Stored size: 793 Bytes
Contents
%li.filter = reveal :filter, id do - if @filter - filter_values = Hash[*@filter.split(";;").collect{|f| f.split("~")}.flatten] - else - filter_values = {} .filters() = action_parameters nil, :class => 'filter_controls' do - header.each do |field| - input field, :string, "Filter for #{ field }", filter_values[field] :markdown Filters can be specified in several ways: - *String of text*: perfect match (e.g. `Cancer`) - *Regular expression*: flexible match (e.g. `/(bladder|breast)\s+cancer/i`) - *Numeric comparison*: lower of grater than (e.g. `< 0.1` or `>= 2`) - *Names: for entities* with names, such as genes or pathways; regular expression accepted (e.g. `:name:SF3B1` or `:name:/CDK\d/`)
Version data entries
8 entries across 8 versions & 1 rubygems