search_biomodel 2.1.5 → 2.1.6
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 +5 -1
- data/search_biomodel.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.6
|
data/lib/search_biomodel.rb
CHANGED
@@ -40,7 +40,11 @@ module SysMODB
|
|
40
40
|
results.each_with_index do |a, i|
|
41
41
|
if !a.nil?
|
42
42
|
sbml_results[i] = Hash.new
|
43
|
-
|
43
|
+
begin
|
44
|
+
sbml_results[i] = Nori.parse(@connection.getSimpleModel(a))[:simple_models][:simple_model]
|
45
|
+
rescue
|
46
|
+
sbml_results[i] = nil
|
47
|
+
end
|
44
48
|
end
|
45
49
|
end
|
46
50
|
sbml_results
|
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: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 6
|
10
|
+
version: 2.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Niall Beard
|