Skip to content

Commit 85024d4

Browse files
committed
(OK) v0.4.3: Add one output on wmsa main program
1 parent 2d03641 commit 85024d4

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

msa_main.c

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,21 @@
77
#if REPORTCOSTS
88
#include <time.h>
99
#endif
10-
#define VERSION "0.4.2"
10+
#define VERSION "0.4.3"
1111
#define SHOWVERSION reporterr( "%s (%s, %d-bit) Version " VERSION "\n\n", "MSA align", (seq_type == 1) ? "nuc" : ((seq_type == 0) ? "unknown" : "aa"), sizeof(int *) * 8 )
1212
// #define FILESAVE
1313
#define MIN(X, Y) ((X) > (Y) ? (Y) : (X))
1414
static int alignmode, calcsp, simplycheck, profilealignthread;
1515

1616
void print_help_message()
1717
{
18-
reporterr("WMSA alignment Version %s help: \n", VERSION);
18+
reporterr("WMSA alignment Version %s ", VERSION);
19+
#ifdef enablemultithread
20+
reporterr("(Multi-thread mode)");
21+
#else
22+
reporterr("(Single-thread mode)");
23+
#endif
24+
reporterr(" help: \n");
1925
reporterr("== Common ==\n");
2026
reporterr("-i: input file name\n");
2127
reporterr("-o: output file name\n");
@@ -40,7 +46,12 @@ void print_help_message()
4046

4147
void print_version()
4248
{
43-
reporterr("WMSA verison %s\n", VERSION);
49+
reporterr("WMSA verison %s ", VERSION);
50+
#ifdef enablemultithread
51+
reporterr("(Multi-thread mode)\n");
52+
#else
53+
reporterr("(Single-thread mode)\n");
54+
#endif
4455
}
4556

4657
void arguments(int argc, char *argv[])

0 commit comments

Comments
 (0)