AnantharamanLab / METABOLIC

A scalable high-throughput metabolic and biogeochemical functional trait profiler
178 stars 45 forks source link

Disable hard-coded cpu count for test #194

Open rfox-mbl opened 2 months ago

rfox-mbl commented 2 months ago

When testing a new installation on a machine with greater than 5 idle cpus, the program limits to only 5 cpus for tests.

The number of cpus should be controllable at invocation irrespective of what mode it's in.

I tried running with -t 40 but it still used 5 cpus. I edit METABOLIC-G and commented out line 156 which allowed me to control the cpus used during the test with the -t argument.