Skip to content

Commit aa7646b

Browse files
committed
Embarassing little fix
1 parent 65b3f50 commit aa7646b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

upimapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_arguments():
143143
"will be used as reference\n"
144144
"\t4. a custom database - Input will be considered as the database, and will be used as reference")
145145
diamond_args.add_argument(
146-
"-t", "--threads", type=int, default=os.sched_getaffinity(0),
146+
"-t", "--threads", type=int, default=len(os.sched_getaffinity(0)),
147147
help="Number of threads to use in annotation steps [all available]")
148148
diamond_args.add_argument(
149149
"--evalue", type=float, default=1e-3, help="Maximum e-value to report annotations for [1e-3]")

0 commit comments

Comments
 (0)