def _ligand_db_from_zip(self,
ligand_zip):
from zipfile
import ZipFile
import os
namelist = []
with ZipFile(ligand_zip)
as zf:
for fname
in zf.namelist():
name, ext = os.path.splitext(fname)
if ext.lower() ==
'.xml':
namelist.append(name)
return namelist