ValueError Traceback (most recent call last)
[<ipython-input-4-7aaef16462be>](https://localhost:8080/#) in <module>
34 ppdb.to_pdb(path="temp.pdb", records=['ATOM', 'HETATM'], gz=False, append_newline=True)
35
---> 36 mol= [m for m in pybel.readfile(filename="temp.pdb", format='pdb')][0]
37 mol.calccharges
38 mol.addh()
[/usr/local/lib/python3.8/site-packages/openbabel/pybel.py](https://localhost:8080/#) in readfile(format, filename, opt)
157 obconversion.AddOption(k, obconversion.INOPTIONS, str(v))
158 if not formatok:
--> 159 raise ValueError("%s is not a recognised Open Babel format" % format)
160 if not os.path.isfile(filename):
161 raise IOError("No such file: '%s'" % filename)
ValueError: pdb is not a recognised Open Babel format