snakemake.exceptions.print_exception

snakemake.exceptions.print_exception(ex, linemaps=None)[source]

Print an error message for a given exception.

Arguments ex – the exception linemaps – a dict of a dict that maps for each snakefile

the compiled lines to source code lines in the snakefile.