Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: fixed display of any exceptions and errors from within a workflo…
…w definition
  • Loading branch information
johanneskoester committed Dec 9, 2021
1 parent b3d88bc commit 23d40d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/workflow.py
Expand Up @@ -1181,7 +1181,7 @@ def include(
# this allows to import modules from the workflow directory
sys.path.insert(0, snakefile.get_basedir().get_path_or_uri())

self.linemaps[snakefile] = linemap
self.linemaps[snakefile.get_path_or_uri()] = linemap

exec(compile(code, snakefile.get_path_or_uri(), "exec"), self.globals)

Expand Down

0 comments on commit 23d40d9

Please sign in to comment.