Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
remove printing statements from format validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sann5 committed Jan 11, 2024
1 parent d2a1607 commit feb5e4c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions q2_types_genomics/reference_db/_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ def _validate_1st_line(self, line: list):
line[2] == "taxid" and
line[3] == "gi"
):
print(line[0])
print(line[1])
print(line[2])
print(line[3])
raise ValidationError(
"NCBI prot.accession2taxid file must have "
"columns: 'accession', 'accession.version'"
Expand Down Expand Up @@ -182,9 +178,7 @@ def _validate_(self, level):
break

Check warning on line 178 in q2_types_genomics/reference_db/_format.py

View check run for this annotation

Codecov / codecov/patch

q2_types_genomics/reference_db/_format.py#L178

Added line #L178 was not covered by tests

# Get line and split it into fields
print(line)
splitted_line = line.rstrip("\n").split(sep="\t")
print(splitted_line)

# Check that it is split in 4
if len(splitted_line) != 4:
Expand Down

0 comments on commit feb5e4c

Please sign in to comment.