Skip to content

Commit

Permalink
Merge pull request #40 from clelange/dasgoclient
Browse files Browse the repository at this point in the history
update to dasgoclient
  • Loading branch information
clelange authored Jan 30, 2018
2 parents b1c2463 + 8ff5eed commit a748a54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SubmitHGCalPGun.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def getInputFileList(DASquery,inPath, inSubDir, local, pattern):
# DASquery will be made based on inPath (i.e. opt.RELVAL)

relvalname=inPath.split('/')[1]
cmd='das_client --limit 10000 --query="file dataset='+inPath+'" | grep '+relvalname
cmd='dasgoclient -limit 10000 -query="file dataset='+inPath+'" | grep '+relvalname
status, thisoutput = commands.getstatusoutput(cmd)
if status !=0:
print "Error in processing command: "+cmd
Expand Down Expand Up @@ -207,8 +207,8 @@ def submitHGCalProduction():
if int(opt.PU) != 0:
# we need to get the PU dataset
puname=str(opt.PUDS).split('/')[1]
# PLEASE NOTE --> using only 20 MinBias files here!! change to to 10000 if you want them all
cmd='das_client --limit 20 --query="file dataset='+str(opt.PUDS)+'" | grep '+puname
# PLEASE NOTE --> using only 50 MinBias files here!! change to to 10000 if you want them all
cmd='dasgoclient -limit 50 -query="file dataset='+str(opt.PUDS)+'" | grep '+puname
status, thisoutput = commands.getstatusoutput(cmd)
if status !=0:
print "Error in processing command: "+cmd
Expand Down

0 comments on commit a748a54

Please sign in to comment.