Skip to content

Commit

Permalink
reduce redundant specificity for anglerfish samplesheet pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed May 21, 2024
1 parent 64fc26c commit 0c5c7c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions taca/nanopore/ONT_run_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,8 @@ def fetch_anglerfish_samplesheet(self) -> bool:
b) If the file is not yet available, return False.
"""

# Following line assumes run was started same year as samplesheet was generated
expected_file_pattern = f"Anglerfish_samplesheet_{self.experiment_name}_*.csv"

# Finalize query pattern
# Define query pattern
expected_file_pattern = f"*{self.experiment_name}*.csv"
pattern_abspath = os.path.join(
self.anglerfish_samplesheets_dir, "*", expected_file_pattern
)
Expand Down

0 comments on commit 0c5c7c0

Please sign in to comment.