diff --git a/VERSIONLOG.md b/VERSIONLOG.md index d84787e9..177c6e00 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # TACA Version Log +## 20260923.1 + +Add small delay for runfolder tar to allow filsystem to catch up + ## 20260922.1 Update nextseq regex for backup @@ -14,7 +18,7 @@ Use the common regex for Illumina run folders in Runs ## 20260917.1 -Bugfix: Flush file and die to avoid runfolder transfer crash of small runs +Bugfix: Flush file and dir to avoid runfolder transfer crash of small runs ## 20260828.1 diff --git a/taca/__init__.py b/taca/__init__.py index 1d2b8974..6ac52a64 100644 --- a/taca/__init__.py +++ b/taca/__init__.py @@ -1,3 +1,3 @@ """Main TACA module""" -__version__ = "1.6.28" +__version__ = "1.6.29" diff --git a/taca/analysis/analysis.py b/taca/analysis/analysis.py index b62e091e..50529dc8 100755 --- a/taca/analysis/analysis.py +++ b/taca/analysis/analysis.py @@ -234,6 +234,8 @@ def transfer_runfolder(run_dir, pid, exclude_lane): "Please check the sample sheet and try again." ) raise e + # Sleep for a second to make sure the filesystem metadata is updated before tar (needed for networked filesystems) + time.sleep(2) # Create a tar archive of the runfolder dir_name = os.path.basename(run_dir) archive = run_dir + "_" + "_".join(pid_list) + ".tar" @@ -281,7 +283,6 @@ def transfer_runfolder(run_dir, pid, exclude_lane): + [ "-cvf", archive, - "--warning=no-file-changed", "-C", run_dir_path, dir_name,