Last active
March 1, 2018 16:00
-
-
Save VanyaBelyaev/328a015a409ebe3c04f94feba8f9e16f to your computer and use it in GitHub Desktop.
The first "do-nothing" Bender example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 1) some user code : | |
def run ( nEvents ) : | |
for i in range( 0 , min( nEvents , 10 ) ) : print ' I run event %i ' % i | |
return 0 | |
## 2) configuration step | |
def configure ( datafiles , catalogs = [] , castor = False , params = {} ) : | |
print 'I am configuration step!' | |
return 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment