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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/statistics/fdr.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cd0ada9a3ede35888a4ec1e581777fc4b51756b
4
- data.tar.gz: 156f7b9dfe076a13aa93cfca9fa09fae93ced6a6
3
+ metadata.gz: a601a5fe0a12f90cc0729557ffd15c088c47802b
4
+ data.tar.gz: bc317becbca8ac96f8042ff8a0e8c6dfc2053c3b
5
5
  SHA512:
6
- metadata.gz: c1a2905af47b7259202f58f80303b3298f0628b0ec22c5458c0a15707e5dee12cab7685b9e070704d6e053c2a2e34f51fb7e6965ef516b6fc0a9c5e3c8763972
7
- data.tar.gz: 2427ce9f476d56d9fce2452e98e56d81177b56f832378483a5e0fc0fbdddf668b8cd5289b9fe7a2b4bfb85e8ce11a6352386b8b1d7b17d726a7ca47803fbcae4
6
+ metadata.gz: 50beee5add8d5a092a500686f2935085a861e79b8b64d982b8c099de121585fcdce2a5db91ad388a92760b0e8e4ab48745d567b414d4169c2bd609de395bcb26
7
+ data.tar.gz: 7fca872f255c284cd54539dab39f4444af98ba539302bc317710af6b35b645a61dc73ff72142a8747a7f747e607cfb700136b8714b200ffca4b98d44d1b8c8eb
@@ -156,9 +156,9 @@ module FDR
156
156
  values = []
157
157
  keys = []
158
158
 
159
- field_pos = (field === String) ? data.fields.index(field) : field
159
+ field_pos = (String === field ) ? data.fields.index(field) : field
160
160
 
161
- field_pos = 0 if field_pos.nil? and tsv.type != :single
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.33
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-15 00:00:00.000000000 Z
11
+ date: 2017-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbbt-util