-
Notifications
You must be signed in to change notification settings - Fork 191
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
nf-core modules lint breaks when using stageAs:
or folder in the input line
#1542
Comments
Closing as the error was elsewhere: See: nf-core/modules#1239 (comment) |
I don't quite see why this should be closed based on that comment? Tools should never trigger a big unhandled crash like that. Please paste the error log in the future, I can't find the original CI job that triggered this. But the link from slack points to this traceback:
|
Mostly reopening as I want to refactor the underlying code that this error came from, so this is a good reminder for that. |
x-ref comment here: #1374 (comment) |
Hi @mahesh-panchal @ewels, I was looking at this bug but it seems it's already solved. The only missing task would be to get singularity and docker tags by regex in |
Sorry, the issue is something else and I haven't had time today to generating what the actual issue is. I was misinformed when I wrote this, and then Harshil showed the issue was to do with the comment instead that was breaking linting. |
The original line that was causing the error was: |
There's also another one to do with using single or double quotes in the comment, but I haven't tried to replicate yet. |
Please go ahead 👍🏻 Basically wherever there is complex |
@mahesh-panchal are you able to try to replicate again? Just merged a refactor of some of this code in #1552 but I'm not 100% clear on what the original error in this issue was, so not sure if we can close or not.. |
Ok, after a bit of digging it seems that this issue is not resolved yet. If I dig back in the git history of nf-core/modules to this commit of the busco module: https://github.com/priyanka-surana/modules/blob/012f08537880805ad70a006f0076e6f8933b860f/modules/busco/main.nf I can still trigger an unhandled traceback from nf-core modules linting. Working on this now. |
Yes. Still errors for me too.
That was the line causing issues in the busco module |
No more split, regexes FTW! Fixes nf-core#1542
@mahesh-panchal should be fixed in #1571 👍🏻 |
Description of the bug
nf-core modules lint breaks when using
stageAs:
or a folder name in the input linehttps://github.com/nf-core/modules/runs/6308115663?check_suite_focus=true
Command used and terminal output
System information
No response
The text was updated successfully, but these errors were encountered: