Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 25, 2023
1 parent 70744b5 commit a877aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snakemake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import json
import re
import inspect
from snakemake.sourcecache import LocalSourceFile, infer_source_file
import textwrap
from itertools import chain
import collections
Expand Down Expand Up @@ -38,6 +37,8 @@ def validate(data, schema, set_default=True):
https://python-jsonschema.readthedocs.io/en/latest/faq/ for more
information
"""
from snakemake.sourcecache import LocalSourceFile, infer_source_file

frame = inspect.currentframe().f_back
workflow = frame.f_globals.get("workflow")

Expand Down

0 comments on commit a877aa5

Please sign in to comment.