Skip to content

Commit 3132066

Browse files
committed
Update genome.rb
1 parent 02f08d9 commit 3132066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/genome.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def source_sample_locations
293293
if m = v[1].match(/^(\d) *°(?: *(\d+) *'(?: *(\d+) *(?:"|''))?)?/)
294294
m[1].to_f + (m[2].to_f + m[3].to_f / 60) / 60
295295
else
296-
v[1].to_f
296+
v[1].gsub(',', '.').to_f
297297
end
298298

299299
if %w[S s W w].include?(v[2]) || v[0] == '-'

0 commit comments

Comments
 (0)