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

fix SyntaxWarning: invalid escape sequence '\+' (issue #107) #112

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

frederic-mahe
Copy link
Collaborator

  • eliminates warnings,
  • captured patterns should be the same (longest string without a space before the end of the line),
  • effect on output files is UNTESTED!

@frederic-mahe frederic-mahe linked an issue Nov 16, 2024 that may be closed by this pull request
@ImagoXV
Copy link
Owner

ImagoXV commented Dec 6, 2024

Thank you @frederic-mahe
It stopped triggering the warning. It does not seem to impact results as no error is triggered.
However, I feel like something is weird with correction.
Vscode does not properly recognize the syntax :

image

Any thoughts about this ?

@frederic-mahe
Copy link
Collaborator Author

I've seen similar issues when writing nextflow code. Including complex bash code in shell blocks, especially regular expressions, seems to create parsing issues. Maybe the best course of actions is to put complex bash code in bash scripts rather than in shell blocks?

@ImagoXV
Copy link
Owner

ImagoXV commented Dec 9, 2024

That could fix it

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.

warnings with nanoasv --dry-run
2 participants