mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 21:53:47 +08:00
Set PAML class names in CamelCase
This commit is contained in:
@ -69,7 +69,7 @@ class Baseml(Paml):
|
||||
"""Dynamically build a BASEML control file from the options.
|
||||
|
||||
The control file is written to the location specified by the
|
||||
ctl_file property of the BASEML class.
|
||||
ctl_file property of the Baseml class.
|
||||
"""
|
||||
# Make sure all paths are relative to the working directory
|
||||
self._set_rel_paths()
|
||||
@ -100,7 +100,7 @@ class Baseml(Paml):
|
||||
ctl_handle.write(f"{option[0]} = {option[1]}\n")
|
||||
|
||||
def read_ctl_file(self, ctl_file):
|
||||
"""Parse a control file and load the options into the BASEML instance.
|
||||
"""Parse a control file and load the options into the Baseml instance.
|
||||
|
||||
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
|
||||
|
@ -74,7 +74,7 @@ class Codeml(Paml):
|
||||
"""Dynamically build a CODEML control file from the options.
|
||||
|
||||
The control file is written to the location specified by the
|
||||
ctl_file property of the CODEML class.
|
||||
ctl_file property of the Codeml class.
|
||||
"""
|
||||
# Make sure all paths are relative to the working directory
|
||||
self._set_rel_paths()
|
||||
@ -98,7 +98,7 @@ class Codeml(Paml):
|
||||
ctl_handle.write(f"{option[0]} = {option[1]}\n")
|
||||
|
||||
def read_ctl_file(self, ctl_file):
|
||||
"""Parse a control file and load the options into the CODEML instance.
|
||||
"""Parse a control file and load the options into the Codeml instance.
|
||||
|
||||
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
|
||||
|
@ -45,7 +45,7 @@ class Yn00(Paml):
|
||||
"""Dynamically build a yn00 control file from the options.
|
||||
|
||||
The control file is written to the location specified by the
|
||||
ctl_file property of the yn00 class.
|
||||
ctl_file property of the Yn00 class.
|
||||
"""
|
||||
# Make sure all paths are relative to the working directory
|
||||
self._set_rel_paths()
|
||||
@ -61,7 +61,7 @@ class Yn00(Paml):
|
||||
ctl_handle.write(f"{option[0]} = {option[1]}\n")
|
||||
|
||||
def read_ctl_file(self, ctl_file):
|
||||
"""Parse a control file and load the options into the yn00 instance."""
|
||||
"""Parse a control file and load the options into the Yn00 instance."""
|
||||
temp_options = {}
|
||||
if not os.path.isfile(ctl_file):
|
||||
raise FileNotFoundError(f"File not found: {ctl_file!r}")
|
||||
|
Reference in New Issue
Block a user