Skip to content

Commit

Permalink
Merge pull request #87 from gshiroma/do_not_delete_output_dir
Browse files Browse the repository at this point in the history
Do not delete the output directory
  • Loading branch information
gshiroma authored Apr 15, 2024
2 parents f92a38b + ca280e7 commit 71ad38b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM oraclelinux:8

LABEL author="OPERA ADT" \
description="RTC cal/val release R4" \
version="1.0.2-final"
version="1.0.3-final"

RUN yum -y update &&\
yum -y install curl &&\
Expand Down
2 changes: 1 addition & 1 deletion build_docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

REPO=opera
IMAGE=rtc
TAG=final_1.0.2
TAG=final_1.0.3

echo "IMAGE is $REPO/$IMAGE:$TAG"

Expand Down
6 changes: 0 additions & 6 deletions src/rtc/rtc_s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,6 @@ def run_parallel(cfg: RunConfig, logfile_path, flag_logger_full_format):
f'"{burst_runconfig_list[index_child]}" for burst ID '
f'"{burst_id}"\n')

# if output directory is empty, delete it
if (os.path.isdir(output_dir) and
len(os.listdir(output_dir)) == 0):
logger.info(f'Removing output directory: {output_dir}')
os.rmdir(output_dir)

raise RuntimeError(msg_failed_child_proc)

lookside = None
Expand Down
2 changes: 1 addition & 1 deletion src/rtc/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION='1.0.2'
VERSION='1.0.3'

0 comments on commit 71ad38b

Please sign in to comment.