From db8057d77efdd9940179e960d3d5f17e98e4bb5d Mon Sep 17 00:00:00 2001 From: Cristina Date: Thu, 14 Jan 2021 12:52:41 -0600 Subject: [PATCH] fix typos --- CondorHelper.py | 5 ++--- README.md | 4 ++++ condor/run_bstar.sh | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CondorHelper.py b/CondorHelper.py index 6bce8eb..d670f19 100644 --- a/CondorHelper.py +++ b/CondorHelper.py @@ -29,9 +29,8 @@ if options.inputs != '': commands.append("tar czvf tarball.tgz "+options.inputs) -import os -os.sys('mkdir -p condor/logs/') -os.sys('mkdir -p logs/') +commands.append('mkdir -p condor/logs/') +commands.append('mkdir -p logs/') # Make JDL from template timestr = time.strftime("%Y%m%d-%H%M%S") diff --git a/README.md b/README.md index 50a3a38..2e5fe76 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ Modify username in `condor/run_bstar.sh` e.g.: root://cmseos.fnal.gov//store/user/cmantill/bstar_select_tau21/ ``` +``` +eosmkdir /store/user/$USER/bstar_select_tau21 +``` + Testing one ``` python CondorHelper.py -r condor/run_bstar.sh -a test_args.txt -i "bs_select.py bstar.cc bstar_config.json helpers.py" diff --git a/condor/run_bstar.sh b/condor/run_bstar.sh index a6c1c27..5aef559 100644 --- a/condor/run_bstar.sh +++ b/condor/run_bstar.sh @@ -23,4 +23,4 @@ cd ../BstarToTW_CMSDAS2021 echo python bs_select.py $* python bs_select.py $* -xrdcp Presel_*.root root://cmseos.fnal.gov//store/user/cmantill/bstar_select_tau21/ +xrdcp Presel_*.root root://cmseos.fnal.gov//store/user/$USER/bstar_select_tau21/