Skip to content

Commit

Permalink
Fix 'create_single_iov_db' method for local sqlite files.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-mittag committed Apr 10, 2017
1 parent d3d175b commit 9d31bc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Alignment/MillePedeAlignmentAlgorithm/python/mpslib/tools.py
Expand Up @@ -36,8 +36,11 @@ def create_single_iov_db(inputs, run_number, output_db):
for record,tag in inputs.iteritems():
result[record] = {"connect": "sqlite_file:"+output_db,
"tag": "_".join([tag["tag"], tag["since"]])}
source_connect = ("frontier://PromptProd/cms_conditions"
if tag["connect"] == "pro"
else tag["connect"])
cmd = ("conddb_import",
"-f", "frontier://PromptProd/cms_conditions",
"-f", source_connect,
"-c", result[record]["connect"],
"-i", tag["tag"],
"-t", result[record]["tag"],
Expand Down

0 comments on commit 9d31bc2

Please sign in to comment.