diff --git a/app/models/genome.rb b/app/models/genome.rb index b438c55b..47cdc541 100644 --- a/app/models/genome.rb +++ b/app/models/genome.rb @@ -183,7 +183,7 @@ def source_extra_biosamples attr.each do |i| @source_extra_biosamples += - i.gsub(/.*: */, '').gsub(/[\.]/, '').split(/ *, (?:and)? */) + i.gsub(/.*: */, '').gsub(/[\.]/, '').split(/ *,(?: and)? */) end end @source_extra_biosamples.uniq!