Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed May 7, 2024
1 parent 89e16f5 commit 0f7ab54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TACA Version Log

## 20240507.1

Broaden ONT transfer script's categorization of QC runs to either experiment dir or sample dir starting with "QC\_".

## 20240422.1

Refine GHA VERSIONLOG.md check to compare to merge-base, not branch-base.
Expand Down
5 changes: 3 additions & 2 deletions taca/nanopore/instrument_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ def main(args):
for run_path in run_paths:
logging.info(f"Handling {run_path}...")

if run_path.split(os.sep)[-2][0:3] == "QC_":
# For QC runs, the sample name should start with "QC_"
experiment_name = run_path.split(os.sep)[-3]
sample_name = run_path.split(os.sep)[-2]
if sample_name[0:3] == "QC_" or experiment_name[0:3] == "QC_":
logging.info("Run categorized as QC.")
rsync_dest = args.dest_dir_qc
else:
Expand Down

0 comments on commit 0f7ab54

Please sign in to comment.