Skip to content

Commit

Permalink
snakefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaehnemann committed May 11, 2023
1 parent a93090e commit c0472f8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,17 @@ def scenario_name(wildcards):
def get_scenario(wildcards):
scenario = scenario_name(wildcards)
if scenario == "nanopore_only":
return workflow.source_path("../resources/scenarios/nanopore_circle_scenario.yaml")
return workflow.source_path(
"../resources/scenarios/nanopore_circle_scenario.yaml"
)
elif scenario == "illumina_only":
return workflow.source_path("../resources/scenarios/illumina_circle_scenario.yaml")
return workflow.source_path(
"../resources/scenarios/illumina_circle_scenario.yaml"
)
elif scenario == "nanopore_with_illumina_support":
return workflow.source_path("../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 c0472f8

Please sign in to comment.