Skip to content

Commit

Permalink
bf
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Nov 9, 2024
1 parent 38ab8e0 commit 039ea3e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions condor/check_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
choices=["trigger_boosted", "skimmer", "matching"],
)

parser.add_argument(
"--analysis", required=True, choices=["bbbb", "bbtautau"], help="which analysis", type=str
)

parser.add_argument("--tag", default="", help="tag for jobs", type=str)
parser.add_argument("--year", default="20122", help="year", type=str)
parser.add_argument("--year", default="2022", help="year", type=str)
parser.add_argument("--user", default="rkansal", help="user", type=str)
utils.add_bool_arg(parser, "submit-missing", default=False, help="submit missing files")
utils.add_bool_arg(
Expand All @@ -39,7 +43,9 @@
args = parser.parse_args()


eosdir = f"/eos/uscms/store/user/{args.user}/bbbb/{args.processor}/{args.tag}/{args.year}/"
eosdir = (
f"/eos/uscms/store/user/{args.user}/{args.analysis}/{args.processor}/{args.tag}/{args.year}/"
)

samples = listdir(eosdir)
jdls = [jdl for jdl in listdir(f"condor/{args.processor}/{args.tag}/") if jdl.endswith(".jdl")]
Expand Down

0 comments on commit 039ea3e

Please sign in to comment.