search_biomodel 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/search_biomodel.rb +7 -4
- data/search_biomodel.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.3
|
data/lib/search_biomodel.rb
CHANGED
@@ -38,8 +38,10 @@ module SysMODB
|
|
38
38
|
sbml_results = Array.new
|
39
39
|
|
40
40
|
results.each_with_index do |a, i|
|
41
|
-
|
42
|
-
|
41
|
+
if !a.nil?
|
42
|
+
sbml_results[i] = Hash.new
|
43
|
+
sbml_results[i] = Nori.parse(@connection.getSimpleModel(a))[:simple_models][:simple_model]
|
44
|
+
end
|
43
45
|
end
|
44
46
|
sbml_results
|
45
47
|
end
|
@@ -68,8 +70,9 @@ module SysMODB
|
|
68
70
|
soap.body = {:id => model_id, :attributes! => {:id => {"xsi:type" => "xsd:string"}}}
|
69
71
|
end
|
70
72
|
|
71
|
-
|
72
|
-
|
73
|
+
if !response.nil?
|
74
|
+
search_results = response.to_hash[:get_simple_model_by_id_response][:get_simple_model_by_id_return]
|
75
|
+
end
|
73
76
|
if search_results.nil?
|
74
77
|
[]
|
75
78
|
else
|
data/search_biomodel.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: search_biomodel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 3
|
10
|
+
version: 2.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Niall Beard
|