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

Possible issue with file path in bgcflow\workflow\rules\common.smk #369

Open
MagnusHaahr opened this issue Feb 6, 2025 · 1 comment
Open

Comments

@MagnusHaahr
Copy link

We had issue with following line:

Step 4. Preparing list of final outputs...
 - Getting outputs for project: Lactobacillus_delbrueckii
WorkflowError in file /home/mhaahr/bgcflow/workflow/rules/common.smk, line 731:
Failed to open source file /home/mhaahr/bgcflow/workflow/../../workflow/rules.yaml
FileNotFoundError: [Errno 2] No such file or directory: '/home/mhaahr/bgcflow/workflow/../../workflow/rules.yaml'

Worked afrer updating from:
Line 731: with open(workflow.source_path(f"../../{rule_dict_path}"), "r") as file:

to:
Line 731: with open(workflow.source_path(f"../{rule_dict_path}"), "r") as file:

@alpole23
Copy link

ran into this same issue. your fix solved the problem. thanks!

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