mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 13:43:47 +08:00
Fixed flake8 rule D209 violations
D209 Multi-line docstring closing quotes should be on a separate line
This commit is contained in:
committed by
Peter Cock
parent
b86d003e49
commit
392ede471d
@ -104,7 +104,8 @@ class Baseml(Paml):
|
||||
|
||||
Check that the file exists and that the lines in the file are valid.
|
||||
Then update each BASEML options to the new option if supplied or None
|
||||
if not supplied. Otherwise raise an exception."""
|
||||
if not supplied. Otherwise raise an exception.
|
||||
"""
|
||||
temp_options = {}
|
||||
if not os.path.isfile(ctl_file):
|
||||
raise FileNotFoundError(f"File not found: {ctl_file!r}")
|
||||
@ -192,7 +193,8 @@ def read(results_file):
|
||||
|
||||
Check that the file exits, that the results file is not empty, and then
|
||||
parse the file. Check there is a version in the results and then return
|
||||
the results. Otherwise raise an exception."""
|
||||
the results. Otherwise raise an exception.
|
||||
"""
|
||||
results = {}
|
||||
if not os.path.exists(results_file):
|
||||
raise FileNotFoundError("Results file does not exist.")
|
||||
|
@ -102,7 +102,8 @@ class Codeml(Paml):
|
||||
|
||||
Check that the file exists and that the lines in the file are valid.
|
||||
Then update each CODEML options to the new option if supplied or None
|
||||
if not supplied. Otherwise raise an exception."""
|
||||
if not supplied. Otherwise raise an exception.
|
||||
"""
|
||||
temp_options = {}
|
||||
if not os.path.isfile(ctl_file):
|
||||
raise FileNotFoundError(f"File not found: {ctl_file!r}")
|
||||
@ -202,7 +203,8 @@ def read(results_file):
|
||||
"""Parse a CODEML results file.
|
||||
|
||||
Check that the file exists and is not empty. Return the results
|
||||
if there are any. Otherwise raise an exception."""
|
||||
if there are any. Otherwise raise an exception.
|
||||
"""
|
||||
results = {}
|
||||
if not os.path.exists(results_file):
|
||||
raise FileNotFoundError("Results file does not exist.")
|
||||
|
Reference in New Issue
Block a user