From 7ec8b0756d60af72998d736f91fc7d81af6f6ec3 Mon Sep 17 00:00:00 2001 From: Tianhao-Gu Date: Fri, 15 Mar 2024 18:37:57 -0500 Subject: [PATCH] add comments to microtrait script --- src/loaders/compute_tools/microtrait/microtrait.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/loaders/compute_tools/microtrait/microtrait.py b/src/loaders/compute_tools/microtrait/microtrait.py index 6877bc2d..77aba326 100644 --- a/src/loaders/compute_tools/microtrait/microtrait.py +++ b/src/loaders/compute_tools/microtrait/microtrait.py @@ -204,6 +204,10 @@ def _run_microtrait( # object returned by the # extract_traits function. + # programe_threads is not used in this function, but it is kept for consistency with another tools (e.g., eggnog, mash) + # since extract_traits function doesn't take the number of threads as an argument + # https://github.com/ukaraoz/microtrait/blob/master/R/extract_traits.R#L22-L26 + # Load the R script as an R function r_script = """ library(microtrait)