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 CHANGED
@@ -1 +1 @@
1
- 2.1.5
1
+ 2.1.6
@@ -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
- sbml_results[i] = Nori.parse(@connection.getSimpleModel(a))[:simple_models][:simple_model]
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{search_biomodel}
8
- s.version = "2.1.5"
8
+ s.version = "2.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Niall Beard"]
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: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 5
10
- version: 2.1.5
9
+ - 6
10
+ version: 2.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Niall Beard