Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 8, 2024
1 parent 32824fc commit dc01725
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion graphein/protein/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,12 @@ def read_pdb_to_dataframe(
atomic_df = PandasPdb().read_pdb(path)
elif path.endswith(".mmtf") or path.endswith(".mmtf.gz"):
atomic_df = PandasMmtf().read_mmtf(path)
elif path.endswith(".cif") or path.endswith(".cif.gz") or path.endswith(".mmcif") or path.endswith(".mmcif.gz"):
elif (
path.endswith(".cif")
or path.endswith(".cif.gz")
or path.endswith(".mmcif")
or path.endswith(".mmcif.gz")
):
atomic_df = PandasMmcif().read_mmcif(path)
else:
raise ValueError(
Expand Down

0 comments on commit dc01725

Please sign in to comment.