Skip to content

Commit

Permalink
added documentation to the castorMerge script
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Bernet committed Oct 1, 2009
1 parent 7dd0929 commit 9d11a9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def processFiles( regexp, files ):


parser = OptionParser()
parser.usage = "%prog <castor dir> <regexp pattern> <chunk size>: merge a set of CMSSW root files on castor."
parser.usage = "%prog <castor dir> <regexp pattern> <chunk size>: merge a set of CMSSW root files on castor.\n\nThe regexp pattern should contain 2 statements in parenthesis: the first one should match the file prefix, and the second one the file number. The name of the merged file will start by the file prefix. The file number is used to decide which files to take in input. The chunk size is the number of input files to be merged in a given output file.\n\nExample (just try!):\n./castorMerge.py /castor/cern.ch/user/c/cbern/CMSSW312/SinglePions '(.*)_(\d+)\.root' 2 -n"
parser.add_option("-n", "--negate", action="store_true",
dest="negate",
help="do not produce the merged files",
Expand Down

0 comments on commit 9d11a9a

Please sign in to comment.