code: def test__read_mmtf():
      """Test public _read_pdb with gzip files"""
      pmmtf = PandasMmtf()
      ppdb = PandasPdb()
      pmmtf.read_mmtf(MMTF_TESTDATA_FILENAME)
  
      ppdb = ppdb.read_pdb(PDB_TESTDATA_FILENAME)
  
      pd.testing.assert_frame_equal(
          pmmtf.df["ATOM"][ATOM_DF_COLUMNS].reset_index(drop=True),
          ppdb.df["ATOM"][ATOM_DF_COLUMNS].reset_index(drop=True),
      )
  
      ATOM_DF_COLUMNS.remove("atom_number")
      ATOM_DF_COLUMNS.remove("element_symbol")
      pd.testing.assert_frame_equal(
          pmmtf.df["HETATM"][ATOM_DF_COLUMNS].reset_index(drop=True),
          ppdb.df["HETATM"][ATOM_DF_COLUMNS].reset_index(drop=True),
      )
  
file_path: biopandas/biopandas/mmtf/tests/test_read_mmtf.py
imports: import os
  from urllib.error import HTTPError, URLError
  from urllib.request import urlopen
  import numpy
  import pandas
  from nose.tools import raises
  from biopandas.mmtf import PandasMmtf
  from biopandas.pdb import PandasPdb
  from biopandas.testutils import assert_raises
label_desc: Use image node_id 2 for calling a global function with example usage: test__read_mmtf() without return types