Skip to content

Commit d9d2184

Browse files
committed
Remove debug
1 parent 76ec41b commit d9d2184

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

workflow/Snakefile

+2-9
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,9 @@ MIN_RUNTIME = int(os.getenv("SUNBEAM_MIN_RUNTIME", 15))
5151

5252
# Check for major version compatibility
5353
pkg_major, cfg_major = check_compatibility(config)
54-
if pkg_major > cfg_major:
54+
if pkg_major != cfg_major:
5555
raise SystemExit(
56-
"\nThis config file was created with an older version of Sunbeam"
57-
" and may not be compatible. Create a new config file using"
58-
"`sunbeam init` or update this one using `sunbeam config update -i /path/to/sunbeam_config.yml`\n"
59-
)
60-
elif pkg_major < cfg_major:
61-
raise SystemExit(
62-
"\nThis config file was created with an older version of Sunbeam"
56+
"\nThis config file was created with a different version of Sunbeam"
6357
" and may not be compatible. Create a new config file using"
6458
"`sunbeam init` or update this one using `sunbeam config update -i /path/to/sunbeam_config.yml`\n"
6559
)
@@ -88,7 +82,6 @@ if Cfg["qc"]["host_fp"] == Cfg["all"]["root"]:
8882
HostGenomeFiles = []
8983
else:
9084
HostGenomeFiles = [f for f in Cfg["qc"]["host_fp"].glob("*.fasta")]
91-
print(HostGenomeFiles)
9285
if not HostGenomeFiles:
9386
sys.stderr.write(
9487
"\n\nWARNING: No files detected in host genomes folder ({}). "

0 commit comments

Comments
 (0)