-
Notifications
You must be signed in to change notification settings - Fork 23
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
argument parser doesn't handle =
in --arg=value
#140
Comments
Can you use single quotes and let me know if the error persists:
I think your shell might be interpreting before it gets to slivar. |
Yes, I thought that is what was happening, too, but it happens with both single and double quotes, and both with bash and zsh. |
Oh, I see, you can't use
|
Ah, I see, that indeed solves the issue! |
Indeed it does. That's a PITA. It's from the argument parser that I'm using. |
<=
and >=
comparisons lead to syntax error=
in --arg=value
Given an invocation of slivar such as
slivar expr --info="INFO.some_integer >= 2" -v slivar-example.vcf
, a syntax error occurs:However, replacing
>=
with>
works as expected (same for<=
and<
).slivar version: 0.2.7 71af7d12881ae0590c6d2a97ef2b282cc93fe7c6
(installed via bioconda)I have attached a small VCF file which can be used to reproduce this problem: slivar-example.vcf.txt
The text was updated successfully, but these errors were encountered: