From cf0d3622da280a5118c6a5ce4acf5712e14cade5 Mon Sep 17 00:00:00 2001 From: pdimens Date: Sun, 7 Jul 2024 18:24:05 -0400 Subject: [PATCH] skip blank line --- src/harpy/snakefiles/impute.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harpy/snakefiles/impute.smk b/src/harpy/snakefiles/impute.smk index 19368710e..61cf03b43 100644 --- a/src/harpy/snakefiles/impute.smk +++ b/src/harpy/snakefiles/impute.smk @@ -17,7 +17,7 @@ biallelic = config["inputs"]["biallelic_contigs"] skipreports = config["skipreports"] outdir = config["output_directory"] envdir = os.getcwd() + "/.harpy_envs" -paramspace = Paramspace(pd.read_csv(paramfile, sep=r"\s+").rename(columns=str.lower), param_sep = "", filename_params="*") +paramspace = Paramspace(pd.read_csv(paramfile, sep=r"\s+", skip_blank_lines=True).rename(columns=str.lower), param_sep = "", filename_params="*") with open(biallelic, "r") as f_open: contigs = [i.rstrip() for i in f_open.readlines()]