Skip to content

Commit a1c2896

Browse files
committed
issue #420 catching print out from versions and alias ordering issue
1 parent cd4157b commit a1c2896

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pangolin/command.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ def main(sysargs = sys.argv[1:]):
142142

143143
# Parsing analysis mode flags to return one of 'usher' or 'pangolearn'
144144
config[KEY_ANALYSIS_MODE] = set_up_analysis_mode(args.analysis_mode, config[KEY_ANALYSIS_MODE])
145-
print(green(f"****\nPangolin running in {config[KEY_ANALYSIS_MODE]} mode.\n****"))
146-
if config[KEY_ANALYSIS_MODE] == "scorpio":
147-
print(cyan(f"Warning: in `scorpio` mode only variants of concern (VOCs) defined in constellations can be assigned. `Version` column corresponds to constellation_version.\n"))
148145

149146
snakefile = get_snakefile(thisdir,config[KEY_ANALYSIS_MODE])
150147

@@ -159,6 +156,9 @@ def main(sysargs = sys.argv[1:]):
159156
# by allowing query to accept 0 to many arguments
160157

161158
print(green(f"****\nPangolin running in {config[KEY_ANALYSIS_MODE]} mode.\n****"))
159+
if config[KEY_ANALYSIS_MODE] == "scorpio":
160+
print(cyan(f"Warning: in `scorpio` mode only variants of concern (VOCs) defined in constellations can be assigned. `Version` column corresponds to constellation_version.\n"))
161+
162162
print_ram_warning(config[KEY_ANALYSIS_MODE])
163163

164164
# setup outdir and outfiles

0 commit comments

Comments
 (0)