CMS 3D CMS Logo

Public Member Functions

relval_steps::Steps Class Reference

List of all members.

Public Member Functions

def __setitem__
def overwrite

Detailed Description

Definition at line 13 of file relval_steps.py.


Member Function Documentation

def relval_steps::Steps::__setitem__ (   self,
  key,
  value 
)

Definition at line 14 of file relval_steps.py.

00015                                    :
00016         if key in self:
00017             print "ERROR in Step"
00018             print "overwritting",key,"not allowed"
00019         else:
00020             self.update({key:value})
00021             # make the python file named <step>.py
00022             #if not '--python' in value:                self[key].update({'--python':'%s.py'%(key,)})

def relval_steps::Steps::overwrite (   self,
  keypair 
)

Definition at line 23 of file relval_steps.py.

00024                                :
00025         value=self[keypair[1]]
00026         print "overwritting step",keypair[0],"with",keypair[1],str(value)
00027         self.update({keypair[0]:value})