Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Mar 23, 2021
1 parent 28f587e commit 183ea9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/bolognese/readers/datacite_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def read_datacite(string: nil, **options)
"geoLocationPolygon" => Array.wrap(gl.dig("geoLocationPolygon")).map do |glp|
Array.wrap(glp.dig("polygonPoint")).map { |glpp| { "polygonPoint" => glpp } }.compact.presence
end,
# "geoLocationPolygon" => Array.wrap(gl.dig("geoLocationPolygon", "polygonPoint")).map { |glp| { "polygonPoint" => glp } }.compact.presence,
"geoLocationPlace" => parse_attributes(gl["geoLocationPlace"], first: true).to_s.strip.presence
}.compact
end
Expand Down

0 comments on commit 183ea9f

Please sign in to comment.