Skip to content

Commit

Permalink
migrating das queries to dasgoclient
Browse files Browse the repository at this point in the history
  • Loading branch information
fabozzi committed Oct 25, 2017
1 parent 56e6674 commit 17b2a45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Configuration/PyReleaseValidation/python/MatrixUtil.py
Expand Up @@ -117,16 +117,16 @@ def das(self, das_options):
if len(self.run) is not 0 or self.ls:
queries = self.queries()[:3]
if len(self.run) != 0:
command = ";".join(["das_client %s --query '%s'" % (das_options, query) for query in queries])
command = ";".join(["dasgoclient %s --query '%s'" % (das_options, query) for query in queries])
else:
lumis = self.lumis()
commands = []
while queries:
commands.append("das_client %s --query 'lumi,%s' --format json | das-selected-lumis.py %s " % (das_options, queries.pop(), lumis.pop()))
commands.append("dasgoclient %s --query 'lumi,%s' --format json | das-selected-lumis.py %s " % (das_options, queries.pop(), lumis.pop()))
command = ";".join(commands)
command = "({0})".format(command)
else:
command = "das_client %s --query '%s'" % (das_options, self.queries()[0])
command = "dasgoclient %s --query '%s'" % (das_options, self.queries()[0])

# Run filter on DAS output
if self.ib_blacklist:
Expand Down
2 changes: 1 addition & 1 deletion Configuration/PyReleaseValidation/scripts/runTheMatrix.py
Expand Up @@ -232,7 +232,7 @@ def runSelected(opt):
action='store_true')

parser.add_option('--das-options',
help='Options to be passed to das_client.py.',
help='Options to be passed to dasgoclient.',
dest='dasOptions',
default="--limit 0",
action='store')
Expand Down

0 comments on commit 17b2a45

Please sign in to comment.