Skip to content

Commit

Permalink
suppress extraneous linter reports
Browse files Browse the repository at this point in the history
  • Loading branch information
widdowquinn committed Aug 8, 2024
1 parent 1d4389d commit f0dca4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/average_nucleotide_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def subsample_input(infiles):


# Run as script
if __name__ == "__main__":
if __name__ == "__main__": # noqa: C901

# Parse command-line
args = parse_cmdline()
Expand Down Expand Up @@ -967,9 +967,9 @@ def subsample_input(infiles):
# and write out corresponding results.
logger.info("Carrying out %s analysis", args.method)
if args.method == "TETRA":
results = methods[args.method][0](infiles)
results = methods[args.method][0](infiles) # type: ignore
else:
results = methods[args.method][0](infiles, org_lengths)
results = methods[args.method][0](infiles, org_lengths) # type: ignore
write(results)

# Do we want graphical output?
Expand Down

0 comments on commit f0dca4b

Please sign in to comment.