def setUp(self): with open("tests/pdb/pdb_files/title_data.pdb") as f: pdb_file = pybiomol.PdbFile(f.read()) self.data_file = pybiomol.PdbDataFile(pdb_file) self.empty_data_file = pybiomol.PdbDataFile(pybiomol.PdbFile(""))
def setUp(self): with open("tests/pdb/pdb_files/connectivity_annotation_data.pdb") as f: pdb_file = pybiomol.PdbFile(f.read()) self.data_file = pybiomol.PdbDataFile(pdb_file) self.empty_data_file = pybiomol.PdbDataFile(pybiomol.PdbFile(""))