File tree 1 file changed +2
-9
lines changed
1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,9 @@ MIN_RUNTIME = int(os.getenv("SUNBEAM_MIN_RUNTIME", 15))
51
51
52
52
# Check for major version compatibility
53
53
pkg_major , cfg_major = check_compatibility (config )
54
- if pkg_major > cfg_major :
54
+ if pkg_major != cfg_major :
55
55
raise SystemExit (
56
- "\n This 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
- "\n This config file was created with an older version of Sunbeam"
56
+ "\n This config file was created with a different version of Sunbeam"
63
57
" and may not be compatible. Create a new config file using"
64
58
"`sunbeam init` or update this one using `sunbeam config update -i /path/to/sunbeam_config.yml`\n "
65
59
)
@@ -88,7 +82,6 @@ if Cfg["qc"]["host_fp"] == Cfg["all"]["root"]:
88
82
HostGenomeFiles = []
89
83
else :
90
84
HostGenomeFiles = [f for f in Cfg ["qc" ]["host_fp" ].glob ("*.fasta" )]
91
- print (HostGenomeFiles )
92
85
if not HostGenomeFiles :
93
86
sys .stderr .write (
94
87
"\n \n WARNING: No files detected in host genomes folder ({}). "
You can’t perform that action at this time.
0 commit comments