code: def _test_write_one_ohlcv_with_ratios(self):
      minute = self.market_opens[self.test_calendar_start]
      sid = 1
      data = DataFrame(
          data={
              "open": [10.0],
              "high": [20.0],
              "low": [30.0],
              "close": [40.0],
              "volume": [50.0],
          },
          index=[minute],
      )
  
      # Create a new writer with `ohlc_ratios_per_sid` defined.
      writer_with_ratios = BcolzExchangeBarWriter(
          self.dest,
          self.trading_calendar,
          TEST_CALENDAR_START,
          TEST_CALENDAR_STOP,
          US_EQUITIES_MINUTES_PER_DAY,
          ohlc_ratios_per_sid={sid: 25},
      )
      writer_with_ratios.write_sid(sid, data)
      reader = BcolzExchangeBarReader(self.dest)
  
      open_price = reader.get_value(sid, minute, "open")
      self.assertEquals(10.0, open_price)
  
      high_price = reader.get_value(sid, minute, "high")
      self.assertEquals(20.0, high_price)
  
      low_price = reader.get_value(sid, minute, "low")
      self.assertEquals(30.0, low_price)
  
      close_price = reader.get_value(sid, minute, "close")
      self.assertEquals(40.0, close_price)
  
      volume_price = reader.get_value(sid, minute, "volume")
      self.assertEquals(50.0, volume_price)
  
imports: from datetime import timedelta
  import os
  from numpy import arange, array, int64, float64, full, nan, transpose, zeros
  from numpy.testing import assert_almost_equal, assert_array_equal
  from pandas import DataFrame, DatetimeIndex, Timestamp, Timedelta, NaT, date_range
  from catalyst.data.minute_bars import BcolzMinuteBarMetadata, BcolzMinuteOverlappingData, US_EQUITIES_MINUTES_PER_DAY, BcolzMinuteWriterColumnMismatch, H5MinuteBarUpdateWriter, H5MinuteBarUpdateReader
  from catalyst.exchange.exchange_bcolz import BcolzExchangeBarWriter, BcolzExchangeBarReader
  from catalyst.testing.fixtures import WithAssetFinder, WithInstanceTmpDir, WithTradingCalendars, CatalystTestCase
label_desc: Use image node_id 5 for calling the BcolzMinuteBarTestCase obj's underlying member method code with example usage: obj._test_write_one_ohlcv_with_ratios() without return types