Skip to content

Commit b1c3fc4

Browse files
committed
Troubleshoot
1 parent ff3189f commit b1c3fc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

microhapulator/tests/test_pipe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def test_pipe_gbr_usc10(tmp_path):
6767
args = microhapulator.cli.get_parser().parse_args(arglist)
6868
microhapulator.cli.pipe.main(args)
6969
expected = SimulatedProfile(fromfile=data_file("prof/gbr-usc10-sim.json"))
70-
print("DEBUGger", *list((tmp_path / "analysis" / "gbr-usc" / "03typing").glob("*")), sep="\n")
7170
observed = TypingResult(
7271
fromfile=tmp_path / "analysis" / "gbr-usc" / "03typing" / "gbr-usc-type.json"
7372
)

microhapulator/workflows/preproc-paired.smk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ rule fastqc:
4040
outfiles = sorted(Path(params.outdir).glob("*.html"))
4141
for end, outfile in enumerate(outfiles, 1):
4242
outfile = Path(outfile)
43-
linkfile = f"{params.outdir}/R{end}-fastqc.html"
43+
# Snakemake f-strings break with Python 3.12: https://github.com/snakemake/snakemake/issues/2648
44+
linkfile = params.outdir + "/R" + end + "-fastqc.html"
4445
symlink(outfile.name, linkfile)
4546

4647

0 commit comments

Comments
 (0)