Skip to content

Commit

Permalink
Hack: directories must be local
Browse files Browse the repository at this point in the history
- there is no way to handle input directory with remote URL
  • Loading branch information
DrYak committed Jul 26, 2023
1 parent 44b98d6 commit 98560be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ def cohortdir(fname):


# handle Genes GFF
if config.input["gff_directory"]:
assert is_local_file(config.input["gff_directory"]), f"ERROR: section 'input' property 'gff_directory' cannot be a remote URL {config.input['gff_directory']}.\nwhen not running V-pipe locally (e.g. snakedeploy) you need to either:\n- set it to empty''\n- copy to a local directory and specify that as the gff_directory"

if (
"genes_gff" in config.frameshift_deletions_checks
and config.frameshift_deletions_checks["genes_gff"]
Expand Down

0 comments on commit 98560be

Please sign in to comment.