Closed fwyzard closed 5 years ago
Andrea, there is nothing wrong in DAS, it is your query which has a problem. You put ONLY conditions, but did not specify what you're looking for, so instead of
dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*
you need
dataset dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*
Here first, I put dataset
which is a selection key and then I put
your conditions.
I run this query just now as following on lxplus:
dasgoclient -query="dataset dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*"
/BdToKstarMuMu_BFilter_TuneCP5_14TeV-pythia8-evtgen/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v2/GEN-SIM-DIGI-RAW
/BdToKstarMuMu_BFilter_TuneCP5_14TeV-pythia8-evtgen/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v2/GEN-SIM-DIGI-RAW
/BsToEE_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToEE_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToJpsiGamma_BMuonFilter_SoftQCDnonD_TuneCP5_14TeV-pythia8-evtgen/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToMuMu_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToMuMu_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToMuMu_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-PU300_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToPhiJpsi_ToKKMuMu_probefilter_SoftQCDnonD_TuneCP5_14TeV-pythia8-evtgen/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/BsToPhiJpsi_ToKKMuMu_probefilter_SoftQCDnonD_TuneCP5_14TeV-pythia8-evtgen/PhaseIITDRSpring19DR-PU300_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
...
And it shows all relevant datasets, if I count them I see this
dasgoclient -query="dataset dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*" | wc -l
118
dasgoclient -query="dataset dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW" | wc -l
79
Best, Valentin.
On 0, Andrea Bocci notifications@github.com wrote:
Hi, I think in the past it was possible to query dataset in "production" status, with something like
dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*
.Unfortunately the
status=
part of the query does not seem to work any more ?Thank you, .Andrea
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmwm/das2go/issues/22
Thanks, and sorry for the noise.
I guess the fact that just dasgoclient -query="dataset=..."
works always confuses me :-)
It works because you don't need extra selection field, dataset=/a/b/c in this case a single condition and it is obvious what user asks. If multiple conditions it is not clear what exactly user ask and we need extra select field(s).
On 0, Andrea Bocci notifications@github.com wrote:
Thanks, and sorry for the noise.
I guess the fact that just
dasgoclient -query="dataset=..."
works always confuses me :-)-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/dmwm/das2go/issues/22#issuecomment-517439447
Hi, I think in the past it was possible to query dataset in "production" status, with something like
dataset=/*/PhaseIITDRSpring19DR-*/GEN-SIM-DIGI-RAW status=*
.Unfortunately the
status=
part of the query does not seem to work any more ?Thank you, .Andrea