Skip to content

Commit

Permalink
fix: Fix type error doing dryrun with fixed reference
Browse files Browse the repository at this point in the history
The type of the reference location was a str in stead of pathlib.Path
when doing a dryrun in Snakefile.
  • Loading branch information
KHajji committed Apr 26, 2024
1 parent a479178 commit 8539c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ mash_db = db_dir.joinpath("bacteria-refseq", "db.msh")
referenceseeker_md5 = str(db_dir.joinpath("bacteria-refseq", "downloaded_db.txt"))

if (config["dryrun"] is True) and (GIVEN_REF != "None"):
ref_genome = GIVEN_REF
ref_genome = Path(GIVEN_REF)
else:
ref_genome = output_dir.joinpath("ref_genomes_used", "cluster_1", "ref_genome.seq")

Expand Down

0 comments on commit 8539c88

Please sign in to comment.