Skip to content
Snippets Groups Projects
Commit adfd11f2 authored by Takumi.Matsunobu's avatar Takumi.Matsunobu
Browse files

Merge remote-tracking branch 'refs/remotes/origin/D2_takumi' into D2_takumi

parents 7b0fb4d2 d8927d70
No related branches found
No related tags found
No related merge requests found
Pipeline #21704 failed
...@@ -12,11 +12,11 @@ RUNDIR=${WORKDIR}/${STARTDATE}/${MEMBER} ...@@ -12,11 +12,11 @@ RUNDIR=${WORKDIR}/${STARTDATE}/${MEMBER}
cd ${RUNDIR} || exit cd ${RUNDIR} || exit
# Remove the files in the run directory # 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 # Remove the files in the remote output directory
OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER} OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER}
cd ${OUTPUT_DIR} || exit cd ${OUTPUT_DIR} || exit
rm -f ${FILES_TO_CLEAN} #rm -f ${FILES_TO_CLEAN}
...@@ -53,9 +53,10 @@ def compress_outputs(): ...@@ -53,9 +53,10 @@ def compress_outputs():
# Remove source files # Remove source files
if destination_file_path.exists(): 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"{source_file_path.name!r} copied to {destination_file_path.as_posix()!r}.")
logger.info(f"Removing {source_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__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment