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 15 of file relval_steps.py.


Member Function Documentation

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

Definition at line 16 of file relval_steps.py.

00017                                    :
00018         if key in self:
00019             print "ERROR in Step"
00020             print "overwritting",key,"not allowed"
00021             import sys
00022             sys.exit(-9)
00023         else:
00024             self.update({key:value})
00025             # make the python file named <step>.py
00026             #if not '--python' in value:                self[key].update({'--python':'%s.py'%(key,)})
            
def relval_steps::Steps::overwrite (   self,
  keypair 
)

Definition at line 27 of file relval_steps.py.

00028                                :
00029         value=self[keypair[1]]
00030         print "overwritting step",keypair[0],"with",keypair[1],str(value)
00031         self.update({keypair[0]:value})