Skip to content

Commit

Permalink
Update cg/services/illumina/backup/validators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusBurge-CG authored Oct 18, 2024
1 parent c9ca54a commit aa35643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/services/illumina/backup/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def validate_pdc_encryption_key_path(value: Path) -> Path:
return value


def is_valid_pdc_sequencing_file_path(value: Path) -> Path:
def validate_pdc_sequencing_file_path(value: Path) -> Path:
if not value.name.endswith(f"{FileExtensions.TAR}{FileExtensions.GZIP}{FileExtensions.GPG}"):
raise MissingFilesError("Missing a valid sequence file.")
return value

0 comments on commit aa35643

Please sign in to comment.