Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AldovdN committed Jul 27, 2022
1 parent 0c50cc4 commit c04d581
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cport/modules/scannet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c04d581

Please sign in to comment.