From c04d5810c0f807945e537b0d51221ca5b942eb51 Mon Sep 17 00:00:00 2001 From: AldovdN <90687940+AldovdN@users.noreply.github.com> Date: Wed, 27 Jul 2022 13:11:08 +0200 Subject: [PATCH] linting --- src/cport/modules/scannet.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cport/modules/scannet.py b/src/cport/modules/scannet.py index 2234c89..130efbd 100644 --- a/src/cport/modules/scannet.py +++ b/src/cport/modules/scannet.py @@ -134,11 +134,13 @@ def parse_prediction(self, url=None, test_file=None): browser.open(url) pdb_string = re.findall( - r"stringContainingTheWholePdbFile = (.*?);", str(browser.page), re.DOTALL + r"stringContainingTheWholePdbFile = (.*?);", + str(browser.page), + re.DOTALL, )[0] structure = parser.get_structure("pdb", io.StringIO(pdb_string)) - + else: structure = parser.get_structure("pdb", test_file)