Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version bump to 3.1.1

  • Loading branch information...
commit e23630dce89d8db1d974b5aa089f322dd19073ec 1 parent e81fb51
@dimus dimus authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  VERSION
  2. +1 −1  lib/biodiversity/parser.rb
View
2  VERSION
@@ -1 +1 @@
-3.1.0
+3.1.1
View
2  lib/biodiversity/parser.rb
@@ -256,7 +256,7 @@ def self.surrogate?(parsed_data)
name = parsed_data[:verbatim]
pos = parsed_data[:positions].to_a.flatten
surrogate1 = /BOLD:|[\d]{5,}/i
- surrogate2 = /(spp|sp|nr|cf)[\.]?[\s]*$/i
+ surrogate2 = /\b(spp|sp|nr|cf)[\.]?[\s]*$/i
is_surrogate = false
ai_index = pos.index('annotation_identification')
Please sign in to comment.
Something went wrong with that request. Please try again.