code: def test_query_without_index_raises(self, unindexed_file_name):
      path = test_utils.genomics_core_testdata(unindexed_file_name)
      window = ranges.parse_literal("chr20:10,000,000-10,000,100")
      with sam_reader.SamReader.from_file(
          reads_path=path, ref_path="", options=self.options
      ) as reader:
          with self.assertRaisesRegex(
              ValueError, "Cannot query without an index"
          ):
              reader.query(window)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import clif_postproc
  from third_party.nucleus.io.python import sam_reader
  from third_party.nucleus.protos import reads_pb2
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 9 for calling the SamReaderTest obj's underlying member method code with example usage: obj.test_query_without_index_raises(unindexed_file_name) without return types