The get_core_count() is located in yeat/tests/__init__.py. This function was implemented to get all the available cores from the current system to speed up the assembly process. One concern that was pointed out in #68 was that there is no cap or limit to how many cores can be used for the test suite. Setting a limit or cap can prevent CI or HPC environments with limited resources from crashing or doing erroneous things.
https://github.com/bioforensics/yeat/pull/68#discussion_r1523457724
The
get_core_count()
is located inyeat/tests/__init__.py
. This function was implemented to get all the available cores from the current system to speed up the assembly process. One concern that was pointed out in #68 was that there is no cap or limit to how many cores can be used for the test suite. Setting a limit or cap can prevent CI or HPC environments with limited resources from crashing or doing erroneous things.