rbbt-study 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzI1MTI0N2UxOTA2YTg3MTk2MDc1NWZjZTI1MDczNWNhMTg5Y2U3Nw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NTYwNTEwODkyOGQwNWYwODBlZTRiMDY1MWQzNjZiMjlmNWMxYzMzZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NjA3NWE0ZDQwMDA1ZTIxNTMyYWE5NjRjYjgzNDAyNjBjMzQzNDFlYTk2YjMz
|
|
10
|
+
MDUxMDQ1ODZhYjAyM2Y3ODE2ZmJiMzc2ZjM4ODRlMDdlYjE2YmFmNTI1ZTQw
|
|
11
|
+
NzJlZWMwZDcxNWUxNDA1Y2M4MDhlY2MyMzQ2NjBiYzg0NWE4ZTY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTY0ZTg4NmNiNDQ4ZDZhNzQ2NGE0ZGU0Y2Q3NDc5MWZkZGRiMDI3YjMyNDRi
|
|
14
|
+
YjJmMjdlZDc1ZDY2MTY0MWY3OTA0ZWJmZGZkZjdlNTE5MjUyNTkyOGQ2YzAz
|
|
15
|
+
ZDhmZGY0YzYzOGY1ZTg1ZDQ0YmI1YzdiYWQyYmI0Mzg2YmQ2NWY=
|
data/lib/rbbt/entity/study.rb
CHANGED
|
@@ -94,7 +94,7 @@ module Study
|
|
|
94
94
|
if File.exists? setup_file
|
|
95
95
|
base.instance_eval Open.read(setup_file), setup_file
|
|
96
96
|
end
|
|
97
|
-
base.local_persist_dir =
|
|
97
|
+
base.local_persist_dir = Rbbt.var.cache.studies[base].persistence.find
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
def self.studies
|
|
@@ -15,7 +15,7 @@ module Study
|
|
|
15
15
|
|
|
16
16
|
def knowledge_base
|
|
17
17
|
@knowledge_base ||= begin
|
|
18
|
-
kb = KnowledgeBase.new(
|
|
18
|
+
kb = KnowledgeBase.new(Rbbt.var.knowledge_base.studies[self], self.organism)
|
|
19
19
|
kb.format["Gene"] = "Ensembl Gene ID"
|
|
20
20
|
kb.entity_options["Sample"] = {"Study" => self}
|
|
21
21
|
Study.study_registry.each do |database, file|
|