Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dataflow_transfer/dataflow_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ def process_run(run_dir, sequencer, config):
run.confirm_run_type()

## Transfer already completed. Do nothing.
if run.final_sync_successful:
# Removing the exit code file lets the run retry transfer
if run.final_sync_successful and run.has_status("transferred_to_hpc"):
# Check transfer success both in statusdb and via exit code file
# To restart transfer, remove the exit code file
logger.info(f"Transfer of {run_dir} is finished. No action needed.")
return

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ignore = [

[project]
name = "dataflow_transfer"
version = "1.0.3"
version = "1.0.4"
description = "Script for transferring sequencing data from sequencers to storage"
authors = [
{ name = "Sara Sjunnebo", email = "sara.sjunnebo@scilifelab.se" },
Expand Down
Loading