Skip to content

Commit

Permalink
Use run-specific name to find Anglerfish samplesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed May 27, 2024
1 parent 3c4c14b commit 7846acd
Show file tree
Hide file tree
Showing 2 changed files with 6 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

## 20240527.1

Use run-specific name to find Anglerfish samplesheet.

## 20240521.1

Reduce redundant specificity for anglerfish samplesheet pattern
Expand Down
4 changes: 2 additions & 2 deletions taca/nanopore/ONT_run_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def fetch_anglerfish_samplesheet(self) -> bool:
"""

# Define query pattern
expected_file_pattern = f"*{self.experiment_name}*.csv"
expected_file_pattern = f"*{self.run_name}*.csv"
pattern_abspath = os.path.join(
self.anglerfish_samplesheets_dir, "*", expected_file_pattern
)
Expand All @@ -486,7 +486,7 @@ def fetch_anglerfish_samplesheet(self) -> bool:
return True
else:
raise RsyncError(
f"{self.run_name}: Error occured when copying anglerfish samplesheet to run dir."
f"{self.run_name}: Error occurred when copying anglerfish samplesheet to run dir."
)

def has_fastq_output(self) -> bool:
Expand Down

0 comments on commit 7846acd

Please sign in to comment.