rbbt-dm 1.1.33 → 1.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/statistics/fdr.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a601a5fe0a12f90cc0729557ffd15c088c47802b
|
4
|
+
data.tar.gz: bc317becbca8ac96f8042ff8a0e8c6dfc2053c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50beee5add8d5a092a500686f2935085a861e79b8b64d982b8c099de121585fcdce2a5db91ad388a92760b0e8e4ab48745d567b414d4169c2bd609de395bcb26
|
7
|
+
data.tar.gz: 7fca872f255c284cd54539dab39f4444af98ba539302bc317710af6b35b645a61dc73ff72142a8747a7f747e607cfb700136b8714b200ffca4b98d44d1b8c8eb
|
data/lib/rbbt/statistics/fdr.rb
CHANGED
@@ -156,9 +156,9 @@ module FDR
|
|
156
156
|
values = []
|
157
157
|
keys = []
|
158
158
|
|
159
|
-
field_pos = (
|
159
|
+
field_pos = (String === field ) ? data.fields.index(field) : field
|
160
160
|
|
161
|
-
field_pos = 0 if field_pos.nil? and
|
161
|
+
field_pos = 0 if field_pos.nil? and data.respond_to?(:type) and data.type != :single
|
162
162
|
|
163
163
|
data.collect{|k,vs|
|
164
164
|
v = field_pos.nil? ? vs : vs[field_pos]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-dm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|