1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/env python
'''Script that directs the popcon output to the dropbox
'''
__author__ = 'Giacomo Govi'
import sys
from CondCore.Utilities import popcon2dropbox
cmssw_dir = '/afs/cern.ch/cms/'
release_dir = '/build/gg/'
release = 'CMSSW_7_3_X_2014-11-25-0200'
scram_arch = 'slc6_amd64_gcc491'
job_file = 'popcon2dropbox_job_RunInfo.py'
log_file = 'popcon.log'
dbox_backend = 'offline'
def main():
print(popcon2dropbox.runO2O( cmssw_dir, release_dir, release, scram_arch, job_file, log_file, *sys.argv[1:] ))
popcon2dropbox.upload_to_dropbox( dbox_backend )
if __name__ == '__main__':
sys.exit(main())
|