Method: BioCReader.read_location

Defined in:
lib/simple_bioc/bioc_reader.rb

.read_location(xml, location, options = {}) ⇒ Object



114
115
116
117
118
119
# File 'lib/simple_bioc/bioc_reader.rb', line 114

def read_location(xml, location, options = {}) 
  location.offset = xml["offset"]
  location.length = xml["length"]
  # location.original_offset = xml["original_offset"]
  true
end