Module rosetta :: Module core :: Module pose :: Class ResidueIndexDescriptionFromFile
[hide private]
[frames] | no frames]

Class ResidueIndexDescriptionFromFile

             object --+    
                      |    
ResidueIndexDescription --+
                          |
                         ResidueIndexDescriptionFromFile

%ResidueIndexDescriptionFromFile differs from its parent only in its error reporting when a residue index resolution fails: it prints the file name and the line number that the residue index data came from.

Instance Methods [hide private]
 
__init__(*args, **kwargs)
Overloaded function.
a new object with type S, a subtype of T
__new__(T, S, ...)
 
assign(...)
assign(self : rosetta.core.pose.ResidueIndexDescriptionFromFile, : rosetta.core.pose.ResidueIndexDescriptionFromFile) -> rosetta.core.pose.ResidueIndexDescriptionFromFile
unicode
fname(rosetta.core.pose.ResidueIndexDescriptionFromFile)
int
linenum(rosetta.core.pose.ResidueIndexDescriptionFromFile)
 
resolve_index(...)
resolve_index(self : rosetta.core.pose.ResidueIndexDescriptionFromFile, p : rosetta.core.pose.Pose) -> int

Inherited from ResidueIndexDescription: chain, insertion_code, pose_index, pose_numbered, resindex, unassigned

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(*args, **kwargs)
(Constructor)

 
Overloaded function.

1. __init__(handle) -> NoneType

2. __init__(self : handle, fname : unicode, linenum : int, pose_index : int) -> NoneType

3. __init__(handle, unicode, int, unicode, int) -> NoneType

doc

4. __init__(self : handle, fname : unicode, linenum : int, chain : unicode, resindex : int, insertion_code : unicode) -> NoneType

5. __init__(handle, rosetta.core.pose.ResidueIndexDescriptionFromFile) -> NoneType

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

assign(...)

 

assign(self : rosetta.core.pose.ResidueIndexDescriptionFromFile, : rosetta.core.pose.ResidueIndexDescriptionFromFile) -> rosetta.core.pose.ResidueIndexDescriptionFromFile

Overrides: ResidueIndexDescription.assign

resolve_index(...)

 
resolve_index(self : rosetta.core.pose.ResidueIndexDescriptionFromFile, p : rosetta.core.pose.Pose) -> int

Turn the internal data into a pose index (in the range from 1 to total residue)
 or throw an exception if the index cannot be resolved; the exception thrown by this
 class if the resolution fails includes a statement of the file name and the line
 number in that file.

Overrides: ResidueIndexDescription.resolve_index