Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcf2scoary.py: fix SyntaxWarnings. #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emollier
Copy link

@emollier emollier commented Dec 2, 2024

With contemporary Python versions like 3.13, Scoary emits the following warnings:

  /usr/lib/python3/dist-packages/scoary/vcf2scoary.py:94: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
    if args.types is not "ALL":
  /usr/lib/python3/dist-packages/scoary/vcf2scoary.py:172: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
    if args.types is not "ALL":

Applying the hint resolves the issue.

This issue has initially been reported as Debian bug #1087074.

With contemporary Python versions like 3.13, Scoary emits the
following warnings:

	  /usr/lib/python3/dist-packages/scoary/vcf2scoary.py:94: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
	    if args.types is not "ALL":
	  /usr/lib/python3/dist-packages/scoary/vcf2scoary.py:172: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
	    if args.types is not "ALL":

Applying the hint resolves the issue.

This issue has initially been reported as [Debian bug #1087074].

[Debian bug #1087074]: https://bugs.debian.org/1087074

Signed-off-by: Étienne Mollier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant