File indexing completed on 2024-11-25 02:29:19
0001
0002 '''Script that directs the popcon output to the dropbox
0003 '''
0004
0005 __author__ = 'Giacomo Govi'
0006
0007 import sys
0008 from CondCore.Utilities import popcon2dropbox
0009
0010 cmssw_dir = '/afs/cern.ch/cms/'
0011 release_dir = '/build/gg/'
0012 release = 'CMSSW_7_3_X_2014-11-25-0200'
0013 scram_arch = 'slc6_amd64_gcc491'
0014 job_file = 'popcon2dropbox_job_RunInfo.py'
0015 log_file = 'popcon.log'
0016 dbox_backend = 'offline'
0017
0018 def main():
0019 print(popcon2dropbox.runO2O( cmssw_dir, release_dir, release, scram_arch, job_file, log_file, *sys.argv[1:] ))
0020 popcon2dropbox.upload_to_dropbox( dbox_backend )
0021 if __name__ == '__main__':
0022 sys.exit(main())
0023
0024