Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Standalone scripts

Hasan Öztürk edited this page Jan 7, 2021 · 5 revisions

This page is created with the intention to document all the standalone scripts in this repository. If we are not able to understand and thus document a script, we should delete it, since there is nobody who can use it.

wfsWithMissingUnmergedData.py

Script used for querying all the active workflows in wmstats and matching their output LFNBases against a list of unmerged files (that were lost somewhere). It will print out the request name, its status and the LFN base path to the files missing. Note: you need to setup your grid proxy (X509_USER_PROXY) before running it

setCascadeStatus.py

Script to set the WM status of a set of workflows. (I did not try to run it, but if it's running, then it might be useful)

resubmit.py

...

remove_campaign.py

Seems like it removes a given campaign from mongodb. I did not try it, but it might be useful.

rejectWorkflows.py

Reject a given list of workflows. This can be used when input workflows are in status: assigened or assignment-approved input arg: Text file with list of workflows.

I did not try it so far, but if it is running, could be handy sometime.

rejectAndClone.py

Reject a given list of workflows and then clone them. also INVALIDATES original dataset, since the clone will have increased version number This can be used when input workflows are in status: assigened or assignment-approved Please use abortAndClone for workflows in status acquired or running open/closed The cloned requests have a newly generated RequestName, new timestamp, however -everything- else is copied from the original request. input arg: Text file with list of workflows.

I did not try it so far, but if it is running, could be handy sometime.

recoverMissingLumis.py & recovery.py

python recovery.py --assign "--site original --xrootd --lumisperjob 1" --w pdmvserv_Run2016G_BTagCSV_UL2016_MiniAODv1_NanoAODv2_201215_091431_5998 --go

makeACDC.py

...

getDatasetStatus.py

...

forceCompleteWorkflows.py

...

Clone this wiki locally