Skip to content

Commit

Permalink
Merge pull request #15844 from MilanoBicocca-pix/CMSSW_8_1_X
Browse files Browse the repository at this point in the history
[BeamSpot]: update script to condDB v2 commands
cmsbuild authored Sep 15, 2016
2 parents 87821ac + adc7b1a commit af6ca44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoVertex/BeamSpotProducer/scripts/CommonMethods.py
Original file line number Diff line number Diff line change
@@ -926,7 +926,7 @@ def readSqliteFile(sqliteFileName,tagName,sqliteTemplateFile,tmpDir="/tmp/"):

###########################################################################################
def appendSqliteFile(combinedSqliteFileName, sqliteFileName, tagName, IOVSince, IOVTill ,tmpDir="/tmp/"):
aCommand = "cmscond_export_iov -d sqlite_file:" + tmpDir + combinedSqliteFileName + " -s sqlite_file:" + sqliteFileName + " -i " + tagName + " -t " + tagName + " -l sqlite_file:" + tmpDir + "log.db" + " -b " + IOVSince + " -e " + IOVTill
aCommand = "conddb_import -c sqlite_file:" + tmpDir + combinedSqliteFileName + " -f sqlite_file:" + sqliteFileName + " -i " + tagName + " -t " + tagName + " -b " + IOVSince + " -e " + IOVTill
print aCommand
std = commands.getstatusoutput(aCommand)
print std[1]

0 comments on commit af6ca44

Please sign in to comment.