bioforensics / yeat

YEAT: Your Everyday Assembly Tool
Other
1 stars 0 forks source link

Setting a limit or cap for the test suite number of avaliable cores #72

Open danejo3 opened 3 months ago

danejo3 commented 3 months ago

https://github.com/bioforensics/yeat/pull/68#discussion_r1523457724

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.