Skip to content

Commit

Permalink
Revert "Register full and reco files to rucio if they are written"
Browse files Browse the repository at this point in the history
This reverts commit 7b01622.
  • Loading branch information
EIC Prod committed Dec 20, 2024
1 parent 5f9e579 commit a5371da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ if [ "${COPYFULL:-false}" == "true" ] ; then
# Token for write authentication
export BEARER_TOKEN=$(cat ${_CONDOR_CREDS}/eic.use)
xrdfs ${XRDWURL} mkdir -p ${XRDWBASE}/${FULL_DIR} || echo "Cannot write simulation outputs to xrootd server"
xrdcp --force --recursive ${FULL_TEMP}/${TASKNAME}.edm4hep.root ${XRDWURL}/${XRDWBASE}/${FULL_DIR}
/opt/campaigns/hepmc3/scripts/register_to_rucio.py -f ${XRDRBASE}/${FULL_DIR}/${TASKNAME}.edm4hep.root --du $(xrdfs ${XRDRURL} stat ${XRDRBASE}/${FULL_DIR}/${TASKNAME}.edm4hep.root | grep 'Size' | awk -F' ' '{print $2}')
xrdcp --force --recursive ${FULL_TEMP}/${TASKNAME}.edm4hep.root ${XRDWURL}/${XRDWBASE}/${FULL_DIR}
fi

# Run eicrecon reconstruction
Expand Down Expand Up @@ -209,7 +208,6 @@ if [ "${COPYRECO:-false}" == "true" ] ; then
export BEARER_TOKEN=$(cat ${_CONDOR_CREDS}/eic.use)
xrdfs ${XRDWURL} mkdir -p ${XRDWBASE}/${RECO_DIR} || echo "Cannot write reconstructed outputs to xrootd server"
xrdcp --force --recursive ${RECO_TEMP}/${TASKNAME}*.edm4eic.root ${XRDWURL}/${XRDWBASE}/${RECO_DIR}
/opt/campaigns/hepmc3/scripts/register_to_rucio.py -f ${XRDRBASE}/${RECO_DIR}/${TASKNAME}.eicrecon.tree.edm4eic.root --du $(xrdfs ${XRDRURL} stat ${XRDRBASE}/${RECO_DIR}/${TASKNAME}.eicrecon.tree.edm4eic.root | grep 'Size' | awk -F' ' '{print $2}')
fi
if [ "${COPYLOG:-false}" == "true" ] ; then
# Token for write authentication
Expand Down

0 comments on commit a5371da

Please sign in to comment.