-
Notifications
You must be signed in to change notification settings - Fork 106
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
New snakemake version introduces path handling error #313
Comments
Also seeing this same error. In fact Pangolin 3.1.11 / pangoLEARN 2021-09-17 were working fine last week, but due to the recent snakemake change, are now failing. |
Resolved now with a modification of the environment file to use an earlier snakemake version! |
Thanks so much @aineniamh for the quick fix! |
It's already reported upstream here, let's hope it'll be fixed soon so we're not stuck with old Snakemake for long |
Hi all,
I got the following error running pangolin today:
The piece of incriminated code is the following (from pangolearn.smk):
I ran a previous version of the code (docker built on the 2021-09-20) on the same file and everything went well.
I noticed an update of snakemake (from 6.8.0 to 6.8.1) 3 days ago which introduces modifications in the definition of
the workflow.current_basedir function which now returns the path as a LocalSourceFile (apparently not handled by os.path.join).
Snakemake version is constrained in environment.yml as follows:
If I'm not mistaken, converting current_basedir to something os.path.join can handle should correct this issue. A temporary workaround would be to set the version were there any side effects to the fix.
Cheers
The text was updated successfully, but these errors were encountered: