Commit eb82172f by Peter Eastman

Fixed incorrect docstring

parent 6b0bc5a3
...@@ -178,9 +178,8 @@ class PDBFixer(object): ...@@ -178,9 +178,8 @@ class PDBFixer(object):
Parameters Parameters
---------- ----------
filename : str, optional, default=None filename : str, optional, default=None
The name of the file to read. The format is determined automatically based on the filename extension. If The name of the file to read. The format is determined automatically based on the filename extension, or if
it ends in either ".pdbx" or ".cif", it is assumed to be a PDBx/mmCIF file. Otherwise, it is assumed to be that is ambiguous, by looking at the file content.
a PDB file.
pdbfile : file, optional, default=None pdbfile : file, optional, default=None
A file-like object from which the PDB file is to be read. A file-like object from which the PDB file is to be read.
The file is not closed after reading. The file is not closed after reading.
...@@ -189,8 +188,8 @@ class PDBFixer(object): ...@@ -189,8 +188,8 @@ class PDBFixer(object):
The file is not closed after reading. The file is not closed after reading.
url : str, optional, default=None url : str, optional, default=None
A URL specifying the internet location from which the file contents should be retrieved. The format is A URL specifying the internet location from which the file contents should be retrieved. The format is
determined automatically by looking for a filename extension. If the URL contains either ".pdbx" or ".cif", determined automatically by looking for a filename extension in the URL, or if that is ambiguous, by looking
it is assumed to be a PDBx/mmCIF file. Otherwise, it is assumed to be a PDB file. at the file content.
pdbid : str, optional, default=None pdbid : str, optional, default=None
A four-letter PDB code specifying the structure to be retrieved from the RCSB. A four-letter PDB code specifying the structure to be retrieved from the RCSB.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment