Skip to content
Snippets Groups Projects
Commit 2ebd2b82 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: single_tracks.sh

parent 7055ba8a
Branches
No related tags found
1 merge request!190Cleaning up single track fitting
......@@ -115,7 +115,13 @@ if [[ -n "${DO_REC}" || -n "${DO_ALL}" ]] ; then
echo "ERROR running juggler"
exit 1
fi
root_filesize=$(stat --format=%s "${JUGGLER_REC_FILE}")
if [[ "${JUGGLER_N_EVENTS}" -lt "500" ]] ; then
# file must be less than 10 MB to upload
if [[ "${root_filesize}" -lt "10000000" ]] ; then
cp ${JUGGLER_REC_FILE} results/.
fi
fi
fi
......@@ -132,11 +138,4 @@ if [[ -n "${DO_ANALYSIS}" || -n "${DO_ALL}" ]] ; then
fi
fi
root_filesize=$(stat --format=%s "${JUGGLER_REC_FILE}")
if [[ "${JUGGLER_N_EVENTS}" -lt "500" ]] ; then
# file must be less than 10 MB to upload
if [[ "${root_filesize}" -lt "10000000" ]] ; then
cp ${JUGGLER_REC_FILE} results/.
fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment