Skip to content

Commit

Permalink
fix: changes in path requirements for snakedeploy (#590)
Browse files Browse the repository at this point in the history
* Changes in path requirements for snakedeploy

* fmt

* Changed path

* Different approach to url passing

* fmt

* Changed path creation

* Update workflow/rules/common.smk

Co-authored-by: Johannes Köster <[email protected]>

* fmt

* Rewind change

* Change in directory call

* Revert "Change in directory call"

This reverts commit b5501c4.

---------

Co-authored-by: Johannes Köster <[email protected]>
Co-authored-by: Johannes Köster <[email protected]>
  • Loading branch information
3 people authored Mar 23, 2023
1 parent 9455a57 commit 406d456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# except according to those terms.

from pathlib import Path
import os.path
import pandas as pd
import re
import random
Expand Down Expand Up @@ -212,7 +213,7 @@ def get_fastqs(wildcards):


def get_resource(name):
return str((Path(workflow.snakefile).parent.parent.parent / "resources") / name)
return workflow.source_path(f"../../resources/{name}")


def get_report_input(pattern):
Expand Down

0 comments on commit 406d456

Please sign in to comment.