ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/python/osusub_cfg.py
Revision: 1.2
Committed: Wed Jun 6 11:54:49 2012 UTC (12 years, 11 months ago) by ahart
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Moving everything into DBTools.

File Contents

# User Rev Content
1 ahart 1.1 import sys
2     import math
3     import runList as runList
4    
5     nJobs = float (sys.argv[2])
6     jobNumber = int (sys.argv[3])
7     filesPerJob = int (math.ceil (len (runList.runList) / nJobs))
8     runList = runList.runList[(jobNumber * filesPerJob):(jobNumber * filesPerJob + filesPerJob)]