You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[✗] 1 Test Failed │
│ https://nf-co.re/errors#1: File must be removed: .github/workflows/push_dockerhub.yml
So when I remove the file, I get this:
FileNotFoundError: [Errno 2] No such file or directory: './.github/workflows/push_dockerhub.yml'
Tried running version 1.11, 1.12 and 1.13.dev0 of nf-core tools, but they all give the same errors
Mentioned this to Phil Ewels on Slack and he suggested raising a bug report.
This test goes through all pipeline files looking for comments. It gets that list of files by doing git ls-files - this is so that it ignores all the stuff that’s in the pipeline directory that should be ignored (temporary files, cache files, other stuff mentioned in .gitignore)
But, if you did rm instead of git rm, then git will still think that the file is there, so then it tries to open the file and fails when it doesn’t exist
If you do git add . then you’ll stage the deletion and I think it should work again
Possibly you’ll need to commit the change
Would be easy to add an extra check / handle the error if the file doesn’t exist
Linting issue with 'push_dockerhub.yml'
When linting, I get the following error:
So when I remove the file, I get this:
Tried running version 1.11, 1.12 and 1.13.dev0 of nf-core tools, but they all give the same errors
Mentioned this to Phil Ewels on Slack and he suggested raising a bug report.
git ls-files
- this is so that it ignores all the stuff that’s in the pipeline directory that should be ignored (temporary files, cache files, other stuff mentioned in .gitignore)rm
instead ofgit rm
, then git will still think that the file is there, so then it tries to open the file and fails when it doesn’t existgit add .
then you’ll stage the deletion and I think it should work againFull output
The text was updated successfully, but these errors were encountered: