Package schrodinger :: Package test :: Module project_mock :: Class MockProjectRow
[hide private]
[frames] | no frames]

Class MockProjectRow

object --+
         |
        MockProjectRow

Standin for the schrodinger.project.ProjectRow class for tests.

Instance Methods [hide private]
 
__init__(self, st)
x.__init__(...) initializes x; see help(type(x)) for signature
structure.Structure
getStructure(self, copy=True)
Return the structure for this row.
 
setStructure(self, st)
Set the row structure to the specified structure object.
 
__getitem__(self, propname)

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, st)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
Overrides: object.__init__

getStructure(self, copy=True)

 

Return the structure for this row.

Parameters:
  • copy (bool) - Whether the return value should be the structure object itself or a copy thereof
Returns: structure.Structure
The Structure for this row

setStructure(self, st)

 

Set the row structure to the specified structure object.

Parameters: