Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-25 02:29:19

0001 #!/usr/bin/env python
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 = '/data/cmssw'
0011 release_dir = '/nfshome0/popcondev/popcon2dropbox'
0012 release = 'CMSSW_7_2_0_pre6'
0013 scram_arch = 'slc5_amd64_gcc481'
0014 job_file = 'popcon2dropbox_job.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 
0022 if __name__ == '__main__':
0023     sys.exit(main())
0024 
0025