Skip to content

Commit

Permalink
move scenarios to workflow/resources/
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaehnemann committed May 11, 2023
1 parent 8b9e67d commit a93090e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ def scenario_name(wildcards):
def get_scenario(wildcards):
scenario = scenario_name(wildcards)
if scenario == "nanopore_only":
return "resources/scenarios/nanopore_circle_scenario.yaml"
return workflow.source_path("../resources/scenarios/nanopore_circle_scenario.yaml")
elif scenario == "illumina_only":
return "resources/scenarios/illumina_circle_scenario.yaml"
return workflow.source_path("../resources/scenarios/illumina_circle_scenario.yaml")
elif scenario == "nanopore_with_illumina_support":
return "resources/scenarios/nanopore_illumina_joint_circle_scenario.yaml"
return workflow.source_path("../resources/scenarios/nanopore_illumina_joint_circle_scenario.yaml")
else:
raise ValueError(f"Unknown scenario: {scenario}")

Expand Down

0 comments on commit a93090e

Please sign in to comment.