1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-12-22 10:38:16 +00:00

Fix linting

This commit is contained in:
James Fellows Yates 2023-02-02 13:08:16 +01:00
parent c4e366d47d
commit 7ce55a99e8
3 changed files with 9 additions and 11 deletions

View file

@ -71,7 +71,6 @@ def check_samplesheet(file_in, file_out):
sample_mapping_dict = {} sample_mapping_dict = {}
with open(file_in, "r") as fin: with open(file_in, "r") as fin:
## Check header ## Check header
MIN_COLS = 4 MIN_COLS = 4
HEADER = [ HEADER = [
@ -101,7 +100,6 @@ def check_samplesheet(file_in, file_out):
## Check sample entries ## Check sample entries
for line in fin: for line in fin:
## Pull out only relevant columns for downstream checking ## Pull out only relevant columns for downstream checking
line_parsed = [x.strip().strip('"') for x in line.strip().split(",")] line_parsed = [x.strip().strip('"') for x in line.strip().split(",")]