Skip to content
Snippets Groups Projects
Commit 88802a2e authored by Christian Faber's avatar Christian Faber
Browse files

bugfix

parent 1d8260a6
Branches
Tags
No related merge requests found
...@@ -163,7 +163,7 @@ def __get_chain_from_file(file: str) -> pdb.Chain.Chain: ...@@ -163,7 +163,7 @@ def __get_chain_from_file(file: str) -> pdb.Chain.Chain:
chain = next(structure.get_chains()) chain = next(structure.get_chains())
return chain return chain
elif extension == ".cif": elif extension == ".cif":
structure = pdb.MMCifParser().get_structure("", file)[0] structure = pdb.MMCIFParser().get_structure("", file)[0]
chain = next(structure.get_chains()) chain = next(structure.get_chains())
return chain return chain
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment