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

WorkflowError in line 15 of Snakefile: Extensions for multiext may not contain path delimiters (/,\) and must start with '.' (e.g. .txt). #18

Open
FinishFYP opened this issue Jul 17, 2024 · 2 comments

Comments

@FinishFYP
Copy link

I encounter the problem when I entered "snakemake -jall" on the terminal command line, which is as following:

aileen@aileen-HP-ZBook-Studio-15-6-Inch-G8-Mobile-Workstation-PC:~/Project_ZYT/serpentine-env-master$ snakemake -jall
WorkflowError in line 15 of /home/aileen/Project_ZYT/serpentine-env-master/Snakefile:
Extensions for multiext may not contain path delimiters (/,\) and must start with '.' (e.g. .txt).
  File "/home/aileen/Project_ZYT/serpentine-env-master/Snakefile", line 15, in <module>

But when I changed "/" to "_", it still didn't work out.

@FinishFYP
Copy link
Author

And this is the line 15 in the Snakefile: “cpp=multiext("src/protobuf/veinsgym.pb.", "cc", "h"),”.
I don't know what's wrong with it?

@dbuse
Copy link
Contributor

dbuse commented Jul 18, 2024

Hm, looks like something changed in the Snakemake API. Maybe the multiext call could be replaced like this:

cpp=[f"src/protobuf/veinsgym.pb.{ext}" for ext in ["cc", "h"]],

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

No branches or pull requests

2 participants