ncbo_annotator 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. data/lib/ncbo_annotator.rb +1 -1
  2. metadata +3 -3
@@ -92,7 +92,7 @@ module NCBO
92
92
  @options[:semanticTypes] = @options[:semanticTypes].split(",") if @options[:semanticTypes].kind_of?(String)
93
93
  @options[:stopWords] = @options[:stopWords].split(",") if @options[:stopWords].kind_of?(String)
94
94
 
95
- @options[:mappingTypes].collect! {|e| e.capitalize}
95
+ @options[:mappingTypes].collect! {|e| e.capitalize} unless @options[:mappingTypes].nil?
96
96
  end
97
97
 
98
98
  def annotate_post
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncbo_annotator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 9
10
- version: 1.0.9
9
+ - 10
10
+ version: 1.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul R Alexander