rbbt-study 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTg4YWExYzRjYzE1NzMwNjg0ZmNlOWZlOWM1ZTVmMDk4MWNiZDQ5Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWE4Y2U3YzMyODdkNmZhOWRmMjJmODViZmVlNzdmYWJmOGM0Yjc5Yw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWQ2YmIyOTcwZjY4NWQ2Y2EwZTI4N2JmN2NkMjU5YThlMmJhNTE4YzY5MWIz
|
10
|
+
N2FjMDViYmUyNjQ2ZWJkNjQyMzc0NWZkMmYzNTQ1NzNjZGIyNzZhZjMwNTli
|
11
|
+
ZDM4NWZiMjYwMDk4NTBlNGQ1NjE2MDQxZTQ1OTg5ZWJlZDdkZDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGI0N2E4YWViNDAyNjFkMTZkNTBhNjdiYzI4ZTAyNmM4Y2Q4ZGNlYTI1YWNh
|
14
|
+
NmVkOWRmYzE5NDI1YjFkNzZlZWU4MTM4ODczMzNiZjk2MDdkZDA0MDA0MWEz
|
15
|
+
N2U2NmNlOWE0NzNmMTEzMDUwYzg4YTcwMTA1MmNhOTY2MjNkYmE=
|
@@ -21,6 +21,13 @@ module Sample
|
|
21
21
|
study.organism
|
22
22
|
end
|
23
23
|
|
24
|
+
def study
|
25
|
+
@study ||= begin
|
26
|
+
this = Array === self ? self.flatten : [self]
|
27
|
+
Study.studies.select{|study| Study.setup(study); (study.samples & this).any? }.first
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
24
31
|
end
|
25
32
|
|
26
33
|
module Study
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-study
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem add the study entity with suport for NGS, Microarray and other
|
14
14
|
types of data
|