From a18fe529fac15ff7e76c14de5e357d36ff05c70b Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Fri, 12 Jan 2024 10:46:15 +0000 Subject: [PATCH] [lint] black --- bin/check_fetchngs_samplesheet.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bin/check_fetchngs_samplesheet.py b/bin/check_fetchngs_samplesheet.py index 41128254..324811c9 100755 --- a/bin/check_fetchngs_samplesheet.py +++ b/bin/check_fetchngs_samplesheet.py @@ -24,9 +24,7 @@ class RowChecker: """ - VALID_FORMATS = ( - ".fastq.gz", - ) + VALID_FORMATS = (".fastq.gz",) def __init__( self, @@ -171,7 +169,14 @@ def check_samplesheet(file_in, file_out): https://raw.githubusercontent.com/sanger-tol/blobtoolkit/main/assets/test/samplesheet.csv """ - required_columns = {"run_accession", "instrument_model", "instrument_platform", "library_strategy", "fastq_1", "fastq_2"} + required_columns = { + "run_accession", + "instrument_model", + "instrument_platform", + "library_strategy", + "fastq_1", + "fastq_2", + } # See https://docs.python.org/3.9/library/csv.html#id3 to read up on `newline=""`. with file_in.open(newline="") as in_handle: reader = csv.DictReader(in_handle, dialect=sniff_format(in_handle))