Module utils

Source
Expand description

General utility methods.

Structs§

NUM_CPU
Return the number of cpus as an &str

Functions§

determine_allowed_cpus
Check that specified desired is valid.
get_reader
Get a CSV Reader
get_writer
Open a CSV Writer to a file or stdout.
is_bgzipped
Detect if a path path ends with the usual bgzip extension.
is_broken_pipe
Check if err is a broken pipe. Check if err is a broken pipe.
set_rayon_global_pools_size
Set rayon global thread pool size.