From dc01725e862188682159af6e019a0403db300c53 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:53:42 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- graphein/protein/graphs.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphein/protein/graphs.py b/graphein/protein/graphs.py index 0e1fd6d47..2417c0044 100644 --- a/graphein/protein/graphs.py +++ b/graphein/protein/graphs.py @@ -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(