diff --git a/templates/common/clean.sh b/templates/common/clean.sh index 843123fb7bfd9bc8a55691ec527a0b8217ce3568..17b80cecab8caf73af7c2c94d2096bee5942c4c7 100644 --- a/templates/common/clean.sh +++ b/templates/common/clean.sh @@ -12,11 +12,11 @@ RUNDIR=${WORKDIR}/${STARTDATE}/${MEMBER} cd ${RUNDIR} || exit # Remove the files in the run directory -rm -f ${FILES_TO_CLEAN} +#rm -f ${FILES_TO_CLEAN} # Remove the files in the remote output directory OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER} cd ${OUTPUT_DIR} || exit -rm -f ${FILES_TO_CLEAN} +#rm -f ${FILES_TO_CLEAN} diff --git a/templates/common/compress.py b/templates/common/compress.py index 408df0590fb89c25c4eac80f5216b840345b7efe..247b145bf326c2246661fcd1171659eddc77ece8 100644 --- a/templates/common/compress.py +++ b/templates/common/compress.py @@ -53,9 +53,10 @@ def compress_outputs(): # Remove source files if destination_file_path.exists(): + logger.info(f"crazy: {destination_file_path.exists()} {destination_file_path.as_posix()!r}.") logger.info(f"{source_file_path.name!r} copied to {destination_file_path.as_posix()!r}.") logger.info(f"Removing {source_file_path.as_posix()!r}") - source_file_path.unlink() + #source_file_path.unlink() if __name__ == "__main__":